From: denis.etienne <nu...@jb...> - 2005-07-26 19:56:22
|
Hello, I am trying to implement methods for an entity bean using Hibernate. I was able to create data in the tables using a simple java application. And I have also a Web application that tries to display all the objects in the tables... I have seen Hibernate query fetching all the rows, but when JBoss try to call my ejbLoad method, then context.getPrimaryKey() returns the Bean object and not the primary key. I can see that from the log file ... java.rmi.NoSuchObjectException: Deprecated | at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:118) | at org.jboss.ejb.plugins.EntityInstanceCache.get(EntityInstanceCache.java:61) | at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:166) | at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89) | at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) | Any idea ? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886666#3886666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886666 |