4 Replies Latest reply on May 14, 2004 10:03 AM by Frank Heylmann

    JBoss not loadding CMP entity beans - please help

    stscit04 Newbie

      Hi,

      I am using Jboss 3.2.3 and MySQL 4.0.14. JBoss shows the following
      strange behaviour: I am able to call findByPrimaryKey(String pk) on
      a entity bean, but when I invoke getXXX on the bean instance returned
      by the finder, the execution stops at this point. The entity beans are CMP
      and I call them from a stateless sessionBean via the local interface.

      The server.log shows that the command
      [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Bank#findByPrimaryKey] Executing SQL: SELECT id FROM Bank WHERE id=?

      is executed, but unlike other querys, the JDBCLoadEntityCommand is
      not executed. Jboss continues after the corresponding transaction times out.

      I am totally stuck here for days now, please help me !!
      Thanks in advance

      Stefan