Page 1 of 1

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

Posted: Thu May 19, 2011 6:59 am
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?

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

Posted: Thu May 19, 2011 7:33 am
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.