Additonal notes:
You must also add the NOT NULL to primary ids for the auto-created join tables as well. Make sure _PlayerEJB_playerId and _TeamEJB_teamId are specified as NOT NULL.
When deploying the .ear file with the correct sun-j2ee-ri.xml file PLEASE MAKE SURE to uncheck the save object...
Problem found.
Inspection of the error.log file in the j2ee dir of the logs directory revealed two error conditions that did not display in the system console. This is true even if -verbose option is enabled.
1. Primary keys for the League, Team and Player table are nullable. DB2 will not...
I am trying to get the J2EE tutorial sample application, RosterApp which is example of using EJB 2.0 CMP/CMR to work with DB2. I am running Sun's J2EE 1.3.1 reference implementation app server.
The sample works fine with default Cloudscape DB driver. The tables are created automatically and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.