Something went wrong with Instance Per Transaction CMP2.x EntityBean
conatiner configuration in HEAD.
I found that at least one-to-many relationships are not working
currently. Attempt to set relationship results in an exception
(snippet below).
I haven't looked at it yet. Did anyone do something related to it
recently?

alex

java.lang.IllegalStateException: A CMR field cannot be set or added to a relatio
nship in ejbCreate; this should be done in the ejbPostCreate method instead [EJB
 2.0 Spec. 10.5.2].
        at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.addRelation(
JDBCCMRFieldBridge.java:892)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRel
ationInterceptor.java:74)
        at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS
ynchronizationInterceptor.java:248)
        at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentr
anceInterceptor.java:54)
        at org.jboss.ejb.plugins.EntityMultiInstanceInterceptor.invoke(EntityMul
tiInstanceInterceptor.java:65)
        at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockIntercep
tor.java:57)
        at org.jboss.ejb.entity.EntityInterceptor.invoke(EntityInterceptor.java:
268)




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to