• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!