-->
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: Field Transformation Needed
PostPosted: Wed Jun 08, 2011 9:27 pm 
Newbie

Joined: Wed May 06, 2009 8:38 am
Posts: 1
Hi,

I have a Currency table, which stores comma separated ascii codes for the currency label (For example for dollar, 36 is stored which represents $). Since we don't manage the table the data in it can't be changed.

For our purposes, we want to transform the ascii code to the proper representation while loading data from database.

Does hibernate provide any mechanism to do such transformations using java functions? We would write a result transformer while loading, but that it handled internally by a product we are using.

Any thoughts are most welcome!


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.