Bugs item #601866, was opened at 2002-08-29 10:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=601866&group_id=22866
Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: David Baillieul (baillieul) Assigned to: Nobody/Anonymous (nobody) Summary: CMR not allowing insert Initial Comment: A page table has been defined with a foreign key to a process table. When adding a page to a process, the server returns null for the process id in the page, which causes a NPE when trying to create the page proxy. The sequence of events is as follows: 1) The pageBean is created (ejbCreate is called), resulting in an insert in the database. The process id for the page is not set at that time, because it is a CMR field. 2) ejbPostCreate is called. The process id is set. 3) the invoker gets a proxy object for the page. This result in a call to get the processId for the page that in turn does a select on the page row. This returns a null. What seems to be missing is the call to update the process id in the page row. This normally occurs as part of ejbStore. ejbStore is not invoked in this case because the transaction is not committed, or if a finder is invoked. Issue exists with 3.0.0, 3.0.1 and 3.0.2 all on Win2000 using Hypersonix database. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=601866&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
