KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > ejb > EntityContext

javax.ejb
Interface EntityContext

All Superinterfaces:
EJBContext
See Also:
Top Examples, Source Code

public EJBLocalObject getEJBLocalObject()
                                 throws IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public EJBObject getEJBObject()
                       throws IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getPrimaryKey()
                     throws IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[466]Get BMP primary key
By bharathi { dot } harge { at } exaband { dot } net on 2003/10/20 04:57:30  Rate
ProductsBmpPk pk =  ( ProductsBmpPk ) ctx.getPrimaryKey (  ) ; 
 Long pid = pk.productId; 
 giving ClassCastExcepiton

Popular Tags