pouzitie discriminator v Hibernate

Lukáš Marek Lukas.Marek na cleverlance.com
Úterý Červen 10 16:43:51 CEST 2008


a jakeho typu je ten objekt s id 4667772? neni problem v tom getId()?
________________________________________

...:Object with id: 4667772 was not of the specified subclass: sk.xxxxx.A
(Discriminator: 1   ); nested exception is
org.hibernate.WrongClassException: Object with id: 4667772 was not of the
specified subclass: sk.xxxxx.A (Discriminator: 1  )

chyba sa objavi hned po vykonani findByCriteria.

Ivan




Další informace o konferenci Konference