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.
