[jboss-user] [Persistence] - JPA Locale Mapping

garethwebbley do-not-reply at jboss.com
Sat Nov 14 12:44:21 EST 2009


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.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265681#4265681

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265681



More information about the jboss-user mailing list