Calling remove(Object primarykey) method from the localhome
posted 4 years ago
I am trying to invoke remove(Object primarykey) method from the localhome to delete a database record. I am using container managed persistence. The code complies fine but the problem occurs when i try to deploy the ear on oracle AS. I receive the following error .
java.rmi.RemoteException deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application yyyy: Error loading package at file:<path>xxxEjb.jar,
Error compiling <path>xxxEjb.jar: Syntax error in source
the code is built with jdk 1.4.2. I have included the ejbHomeRemove(Object primarykey) method in addition to the ejbRemove(Object primarykey) in the bean because oracle complained that the method mapped to remove in the localhome interface is ejbHomeRemove. This is the error i get when i don't include the ejbHomeRemove method in the Bean.