NullPointerException « Delete « JPA Q&A





1. all-delete-orphan (null pointer exception)    forum.hibernate.org

seq_ncuserconflict ...

2. getting a null pointer exception on delete    forum.hibernate.org

I'm running into an issue where I query for a List of items using Hibernate HQL in one transaction. Then I take this List and iterate over it, calling session.delete(Item) when iterating. This happens in another transaction. For some reason, everytime I call session.delete(Item), I get a java.lang.NullPointerException. It is not thrown by Hibernate, just a regular NPE. I checked the ...

3. NullPointerException on Updating an already Deleted object    forum.hibernate.org

Author Message Aysther Post subject: NullPointerException on Updating an already Deleted object Posted: Wed Feb 20, 2008 10:05 pm Newbie Joined: Wed Feb 20, 2008 9:49 pm Posts: 4 So here's the general situation :) I'm trying to test / determine Hibernate's behavior when attempting to update a previously deleted object. I'd like to know that the object was ...