Archive for category Hibernate
Persist detached entity
Posted by StephanBeutel in Hibernate, Java on 2011/03/03
Sometimes you have to store an object in a database. I run into the problem that I got this error: org.hibernate.PersistentObjectException: detached entity passed to persist It’s realy easy to solve this problem, just ensure to create the object to be saved after beginning the transaction. In my case I just created a constructor like [...]
Hello everyone
Posted by StephanBeutel in GWT, Hibernate, Java, Maven, Spring, Uncategorized on 2011/02/16
This blog is for all Java users. I’ll post interessting articles and tutorials about Java, Spring, Maven, Hibernate and GWT. Stay tuned. Stephan