I am running an example from the docs in j2eesdk1.2.1
the Account example
I am getting an error while running the client of a bean managed persistent entity bean
i am connection to a sql database
in the makeconnection method
It is getting the datasource
but when i say
con = ds.getConnection("sa","");
it does not give the con object
but gives an error
Caught an exception.
java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is:
java.rmi.RemoteException: Could not create Entity
EJB java.rmi.RemoteException: Could not create Entity EJB
Could anyone plz tell me why is this error coming