-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: DB2 Decrypt function in Hibernate
PostPosted: Fri Aug 06, 2010 11:26 am 
Newbie

Joined: Mon Aug 02, 2010 10:19 pm
Posts: 2
Location: Duluth,GA
I am trying to use DB2 decrypt_char() function in a named SQL(Native SQL) using Hibernate,i am not able to do that
i have to run a query like
<return-scalar column="TEMP_PASSWORD" type="String"/>
SELECT decrypt_char(TEMP_PASSWORD)
FROM <table name>
WHERE LCASE(USER_EMAIL_ADDRESS) = :emailId
and i get a Hibernate exception that TEMP_PASSWORD is an undefined column,though i have it in the table and in the mapping file


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.