Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

valid exam question?

 
Milan Maric
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think of following question?

Assuming there is entity




and client code that uses this entity




what will happen:

a) deploy exectpion
b) runtime exception
c) customer entity will have its id set
d) behavior is undefined

Is this valid exam question having in mind ejb persistence specification:

2.1.4
The application must not change the value of the primary key [8] . The behavior is undefined if this
occurs. [9]


What would be correct answer?

Milan
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic