Hi,
I'm trying to access the datas of a CMR-loaded EJB.
An employee have a CMR field called organisme which is linked to an
organismeBean.
The multiplicity is declared as Many on the Employee side and One on the
Organisme side.
When accessing the organisme datas from the employee bean, I do like
this :
<snip>
organismeLocal org = loc.getOrganisme();
String name = org.getName();
...
</snip>
When accessing it, I get the following error :
<snip>
11:37:09,845 ERROR [LogInterceptor] TransactionRolledbackException,
causedBy:
java.sql.SQLException: Unable to load to deserialize result:
java.io.EOFException
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertByteArrayToObject(JDBCUtil.java:455)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.getBinaryResult(JDBCUtil.java:281)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.getResult(JDBCUtil.java:210)
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:350)
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadInstanceResults(JDBCAbstractCMPFieldBridge.java:304)
</snip>
Am i doing something wrong ?
thanks,
ionel
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user