|
| Hi All,
I am using EJBDeploy.bat on Websphere 6.0.1.0 to create the final deployable ear .But the process is failing because EJBDeploy generates uncompilable code.The same example runs fine on Websphere 5.1 .
I have a entity bean "Emp" which has a self bidirectional relationship (one to many) i.e. (Employee to Manager) .This is the command I am using
<WS6-AppServer-Install>/bin ejbdeploy D:\temp\EJBModule1.jar D:\temp1\wstemp5 D:\temp1\wstemp5\ejbmod.jar -keep -dbvendor ORACLE_V9I -dbschema "scott"
where EJBModule1.jar is EJB 2.1 compliant has the bean classes , ejb-jar.xml , ibm-ejb-jar-bnd.xmi,ibm-ejb-jar-ext.xmi
I get the following error:
[*Error] ejbModule/untitled14/websphere_deploy/ORACLE_V9_1/EmpBeanCacheEntryImpl
_ff9856d8.java(209): MGR_IsNull cannot be resolved
[*Error] ejbModule/untitled14/websphere_deploy/ORACLE_V9_1/EmpBeanCacheEntryImpl
_ff9856d8.java(211): MGR_IsNull cannot be resolved
And if open the code genereated the field MGR_IsNull is not defined .This field is used in the setManagerKey method .Also while i was comparing with WS 5.1 generated code i noticed that in that case it does not have the setManagerKey method.
Any help would be highly appreciated .I am seeing other use cases too where i see the similar code generation problems .
Cheers,
Sandeep
|
|