Simone Gianni on 01/02/09 22:11, wrote:
Hi all,
the problem of having a database containing localized data is quite
common, and a number of ways to do it are used here and there on the
internet.
What is, from your experience or from your knowledge of JPA, the best
way of doing it in JPA? Are there any recommendation or study papers on
this? (Google seems to find nothing unseful).
Does the JPA 2.0 specs adds some useful new features for this problem?
One project which I worked on in the past which was pre-JPA had this
requirement.
The language strings were heavily cached and not mapped as part of any entity
bean, rather added to the bean post-select by a listener.
It worked well.
Regards
Adam