-->
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: JPA Locale Mapping
PostPosted: Sat Nov 14, 2009 10:56 am 
Newbie

Joined: Sat Nov 14, 2009 10:50 am
Posts: 1
I am trying to use JPA where possible but I have a class containing a Locale which I would like to map to (and from) a String in the correponding table. I cannot seem to find a way to do this using standard JPA - can anyone tell me a way to do this please?

From what I can find from googling I think I need to use a Hibernate Tuplizer - is this correct? However I can't seem to find any good examples of a Tuplizer that I can adapt for my purposes. Does anybody know of any good examples please?

Thanks in advance.


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.