I'm using netbeans with glassfish server and oracle 10g as backend. I tried creating an application in EJB, where in I'm facing some problems.
First of all I created an entity class named Stud with Derby database as backend, connection was done and table got created with data storage and retrieval done successfully.
But as soon as Oracle 10g was taken for backend database connectivity, application gets compiled and deployed successfully, but while running the application error comes into picture,
which I was not able to understand at all because I have set the classpath variable for ojdbc14.jar.
One reason that I understand is table is not getting created in the database. But could not get, how to solve this problem?
Caused by: java.lang.IllegalArgumentException: Object: p.Stud[ id=1 ] is not a known entity type.