Beginner |
|
Joined: Wed Feb 23, 2005 11:32 am Posts: 25 Location: Austria/Vienna
|
we want to hav our pojos independent from the generated db-keys. as string if possible
public class Teehaus { private String key = null; }
not any code should change when the tables move from integer to bigint or uuid. the mapping file may change.
do we have to implement custom types which do the conversion for us like StringToInt, StringToBigInt ?
is there any working implementation for this, or a standard hibernate solution ?
|
|