Which statement is correct, assuming NO mapping descriptor is used?

The Java Persistent API defines certain rules for persistent entities. These rules are required by
the persistent provider to manage entities at runtime.
Which statement is correct, assuming NO mapping descriptor is used?

The Java Persistent API defines certain rules for persistent entities. These rules are required by
the persistent provider to manage entities at runtime.
Which statement is correct, assuming NO mapping descriptor is used?

A.
Entities must extend a persistent base class.

B.
Entities must implement the interface PersistentEntity to be managed by the persistent
provider.

C.
A field without a transient modifier must be annotated as @Persistent to be stored in the
database.

D.
A field without a transient modifier must be annotated as @Transientto NOT be stored in the
database.



Leave a Reply 0

Your email address will not be published. Required fields are marked *