Can the primary key in the entity bean be a Java primitive
type such as int?
Answer Posted / kameshwar
The 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)
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is ejb application?
Can beans who are involved in transaction have 'passivation' process?
What is stateless code?
What is entity bean?
Explain the architectural relationship between JavaBeans and JTA?
What is ejb in weblogic?
Match the ejb functions given below with the functionality equivalent in sql?
What are ejb components?
What is meant by ejb?
Is ejbCreate() method mandatory while defining a Session Bean?
What is the difference between message driven beans and stateless session beans?
Which is more beneficial: Stateful or Stateless Bean?
What is an ejb context?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
What causes statelessness?