Yes, but internally the application server uses corresponding wrapper class (java.lang.Integer instead of int)
Yes, if it is supported by the database server
Primary key object should implement EJBPrimaryKey interface
No, you should use wrapper class (java.lang.Integer instead of int)
Yes, but only in container-managed beans
Primary key object should extend EJBPrimaryKey class
|