Summing up my findings here: (jboss-3.2.6, commit option A): If u use insert-after-ejb-post-create, and set PK to dummy value, there is the following problem: if entity A : entity B is a 1 : n relation, and on B, you do the above, A.getBs() will get one phantom entity (the one u put in with PK -1 at ejbCreate()). If you restarted the server and built the cache from DB, this problem wont be there. But CMR relation get being broken this way, insert-after-ejb-post-create usage becomes not dependable.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863976#3863976 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863976 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
