Darren Hartford
2003-12-09 17:01:05 UTC
Hey all,
Here is hopefully a quick one and that it's just a property I'm missing.
When the Util class is created for Entity Beans from MiddleGen, they have a lookup like this:
"cachedLocalHome = (mypackage.MyBeanLocalHome) initialContext.lookup(mypackage.MyBeanLocalHome.COMP_NAME);"
The COMP_NAME is not recognized in Jboss. Instead, it should be MyBeanLocalHome.JNDI_NAME.
How do I do this?
TIA!
-D
Here is hopefully a quick one and that it's just a property I'm missing.
When the Util class is created for Entity Beans from MiddleGen, they have a lookup like this:
"cachedLocalHome = (mypackage.MyBeanLocalHome) initialContext.lookup(mypackage.MyBeanLocalHome.COMP_NAME);"
The COMP_NAME is not recognized in Jboss. Instead, it should be MyBeanLocalHome.JNDI_NAME.
How do I do this?
TIA!
-D