NPE « Relationship « JPA Q&A





1. NPE when using One to One relationship    forum.hibernate.org

Hello, I am new to the forums and thought i would seek some help on this issue that i have been experiencing for about 2 days now. Hopefully someone has encountered such an issue. Here is the scenario. I have the two oracle tables. Using JBoss 4 and JPA 1.0 Car This Entity has many fields and getters and setters but ...

2. NPE when relationship is modified outside a TX    forum.hibernate.org

Isomet wrote: Is there any particular reason why you don't want to run this in a transaction? Any database update is, of course, run in a transaction. Per JPA, any manipulation of managed entities performed outside the scope of a transaction gets committed as part of the next transaction on the EntityManager that owns the entities. Hibernate EntityManager gets that right. ...