Annotation Type Entity
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Entity
This annotation must be placed on your entity POJOs. If you have a polymorphic hierarchy, the root should have @Entity and the subclasses should have @Subclass.
- Author:
- Jeff Schnitzer
-
Optional Element Summary
-
Element Details
-
name
String nameControls the actual kind name used in the datastore.- Default:
- ""
-