openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elkhawajah <elkhaw...@gmail.com>
Subject Re: entityManager.merge
Date Sat, 21 Aug 2010 15:45:22 GMT

3) I don't know why I am not getting the exception as documented in
http://download.oracle.com/javaee/5/api/javax/persistence/EntityManager.html#merge(T).

Does OpenJPA override these excpetions? as I recall in Hibernate, that if I
passed non-existing component to merge method, I will get
IllegalArgumentException, but heere I am getting InvalidStateException when
calling flush.

Also, unfortunatelly, I am not able to find a comprehensive documentation
about the thrown exception from EntityManagerImpl of OpenJPA.
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/entityManager-merge-tp5447762p5447804.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message