Can the primary key in the entity bean be a Java primitive type such as int?
Submitted by: AdministratorThe primary key can't be a primitive type. Use the primitive wrapper classes, instead. For example, you can use java.lang.Integer as the primary key class, but not int (it has to be a class, not a primitive).
Submitted by: Administrator
Submitted by: Administrator
Read Online Java EJB Programming Job Interview Questions And Answers
Top Java EJB Programming Questions
☺ | Is it possible to stop the execution of a method before completion in a SessionBean? |
☺ | What is EJB? |
☺ | What is message-driven bean? |
☺ | What is the advantage of using Entity bean for database operations, over directly using JDBC API to do database operations? When would I use one over the other? |
☺ | What is the difference between Message Driven Beans and Stateless Session beans? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |