[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Setting the ID of the entity manually before persist

2007-08-09 Thread whafrog
anonymous wrote : Why is that? The entity is NOT detached, it never got persisted... Well, you created it with new, so it's not attached to the persistence engine, so it has to be detached... It's probably not an accurate message. persist() is for new rows, so it's probably not expecting ID

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Setting the ID of the entity manually before persist

2007-08-09 Thread trouby
Ye, I figured it out, I just need it for initial data, and I wanted to keep the IDs synchronized, Well, thanks :) Asaf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072632#4072632 Reply to the post :