EJB design: How to get the Primary Key Class of a local ejb...
- Posted by: Francois Vanzeveren
- Posted on: August 17 2004 15:59 EDT
How to get the primary key class of a local ejb?
With remote ejb, it is getEJBMetaData().getPrimaryKeyClass().
But I can not find anything similar for EJBLocalHome.
This is annoying when using reflection on local ejb.
- How to get the Primary Key Class of a local ejb... by Senthil Chinnaiyan on August 17 2004 16:22 EDT
Can't you use the getPrimaryKey() method of the EjbLocalObject? [EJBLocalObject.getPrimaryKey()]