[hibernate-dev] [OGM] EntityKey missing methods ?

Guillaume SCHEIBEL guillaume.scheibel at gmail.com
Sat Mar 3 05:32:03 EST 2012


Hello,

For example, you you try to persist an object the method  "public Tuple
getTuple(EntityKey key)" is called but you cannot try to look into the
database to check whether the persisted object already exists or not
because the EntityKey class doesn't provide any getter method about the
table or the id.

Is there a different way (that I didn't see) to do that or create the
getters is the good (and the simplest) solution ?

Guillaume



More information about the hibernate-dev mailing list