I am using JBOSS3.0a and is currently trying to do CMR. My application is deployed with any problem. However, when I try to create a one to many relation by call a remote method addSection. I got the following excepton:
[10:27:16,514,Default] addSection:begin
[10:27:16,534,EntityContainer] invoke returned an exception
java.rmi.ServerException: null
Embedded Exception
null; nested exception is:
javax.ejb.EJBException: null
Embedded Exception
null
javax.ejb.EJBException: null
Embedded Exception
null
at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityConta
iner.java:1013)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCReadAheadInterceptor.invoke(JDBCRe
adAheadInterceptor.java:100)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRel
ationInterceptor.java:134)
at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS
ynchronizationInterceptor.java:308)
I following the spec of EJB2.0, I didn't expose the get and set methods of the CMR fields on my remote interfaces. Can you shine some light on this? Thanks for your help and time.