Skip to Content
Former Member
Apr 19, 2007 at 11:48 AM

AppLockingTechnicalLockException with Entity beans


I have an EJB project with entity beans. Datasource is Oracle.

Functionality was find earlier, but after a refactoring, I keep receiving error Table EMPLOYEEBEAN not found in catalog


My ejb-jar.xml and persistent.xml hasn't changed (except the path to the java classes for the Ejbs in the ejb-jar.xml). The table name for the entity bean is set differently in persistent.xml




Why does container try to lock record in EMPLOYEEBEAN table? When I disable automatic locking, the container receives an SQL exception "... table does not exist ..". So somehow, it is using EMPLOYEEBEAN as the table instead of TMP_EMPLOYEE.

Can someone help me with that?