Re: [JBoss-user] Entity EJB foreign key not populated

2002-05-13 Thread Dain Sundstrom
The database insert happens after ejbCreate and before ejbPostCreate. A relationship can not be modified until ejbPostCreate so your foreign keys will always be null in the initial insert. Then if you set them in the post create they will be updated. This means that a foreign key can not b

Re: [JBoss-user] Entity EJB foreign key not populated

2002-05-06 Thread Ricardo Argüello
lt;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 05, 2002 3:40 AM Subject: [JBoss-user] Entity EJB foreign key not populated I have exactly the same problem that is described in this bug entry using, JBoss 3.0.0RC2: [ 549415 ] Error create Entity EJB with foreign key: http

[JBoss-user] Entity EJB foreign key not populated

2002-05-05 Thread Ricardo Argüello
I have exactly the same problem that is described in this bug entry using, JBoss 3.0.0RC2: [ 549415 ] Error create Entity EJB with foreign key: http://sourceforge.net/tracker/index.php?func=detail&aid=549415&group_id=22866&atid=376685 When I try to create an entity bean with related entity bean