This blog, as so many others is basically for me to keep and share ideas and solved problems. I can probably say that the context of this blog will be about 80% programming, 10% other related IT stuff and 10% nonsens. I have found it nice to have the possiblity to share ideas and help out with problems that I have bumped into.
Saturday, August 04, 2007
Exceptions
hibernate.PersistentObjectException: detached entity passed to persist
Solution: object = entityManager.merge(object);
Changes to "object" will be synchronized to database when flushed next time. Force flush using entitityManager.flush()
No comments:
Post a Comment