Please, submit a bug report and I will look at it.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Neal Sanche
> Sent: Thursday, January 22, 2004 12:56 AM
> To: jboss-user
> Subject: [JBoss-user] Commit Option A and ejbCreate
> 
> Hi All,
> 
> I have recently been experimenting with Commit Option A and 
> have noticed on rare occasions that creation of an EJB and 
> subsequent setting of some of its CMRs will fail with an EJB 
> spec violation in JBoss 3.2.4RC1. The exception mentions that 
> the CMR should only be set in the ejbPostCreate. However, I 
> am not actually setting any CMRs in the ejbCreate, I am doing 
> so in subsequent lines of the code. For
> example:
> 
>   MYEJBLocal ejb = myhome.create();
>   ejb.setRelatedItem(item);
> 
> The exception will occur on the call to setRelatedItem() 
> which is a CMR method, which is in this case a one to one 
> relation. I am also using the unknown-pk functionality with 
> mysql to have auto-incrementing primary keys, if that makes a 
> difference.
> 
> So far, this doesn't ever happen when the commit option is B, 
> which is the default in the Entity container.
> 
> Any ideas?
> 
> -Neal
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004 Premiere 
> Conference on Open Tools Development and Integration See the 
> breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to