Skip to content

Commit

Permalink
improve documentation on Inheritance
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Jul 2, 2022
1 parent 72841b4 commit 54e05b1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
/**
* Specifies the inheritance strategy to be used for an entity class hierarchy.
* It is specified on the entity class that is the root of the entity class hierarchy.
*
* This class can be either a regular or an abstract;
* The table/column-family/document-collection will have a column for every attribute
* of every class in the hierarchy.
* The subclass will use the {@link Entity} name from that class with this annotation.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Expand Down

0 comments on commit 54e05b1

Please sign in to comment.