Hi,
I need to make every mapped class in my application translatable. I got a proposal to create a duplicate table and create a OneToMany relation from the main object to the translated records. (f.e. User -> User_en, User_nl, ...)
I think it's quite a waste of time to create a subclass for every language. Is there any way I can duplicate the table ? Using an annotation or so ?
At first I thought @SecondaryTable would be my answer .. but it doesn't really duplicate ...
Any other suggestions about translatable objects are welcome ;)
I'm using hibernate version: 3.0.0
|