0 Replies Latest reply on Nov 14, 2009 12:44 PM by garethwebbley

    JPA Locale Mapping

    garethwebbley

      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.