About Question com.enthuware.ets.scbcd.v5.2.84 :

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scbcd.v5.2.84 :

Post by ETS User »

Question:

Which of the following classes must be implicitly or explicitly denoted as managed persistence classes to be included within a persistence unit?

Interceptor classes
Entity classes
Embeddable classes
Inner classes of Entity classes
Mapped Superclasses
Entity interfaces

Correct answers:
Interceptor classes, Entity classes, Embeddable classes.


Why?
The explanation of the question says:
Sec 6.2.1.6 of EJB Persistence Spec:
The following classes must be implicitly or explicitly denoted as managed persistence classes to be included within a persistence unit:
entity classes;
embeddable classes;
mapped superclasses.

The Enthuware software is wrong?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scbcd.v5.2.84 :

Post by admin »

Hello,
I looked at the question and interceptor classes is not marked as a correct answer while Mapped Super classes is. This is as per the specification. So the question is right.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests