@Retention(value=RUNTIME) @Target(value=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.
public abstract String name
Copyright © 2016. All rights reserved.