| Annotation Type | Description |
|---|---|
| EntityExtension |
Marks a class as an extension of another JPA entity
Class will not be promoted to the JRE after processing, but extended entity will be modified such way:
- extended class will get all fields and methods of "extension" class
- inherits all interfaces of "extension" class
- JPA annotations will be modified with "table" property to separate extension from "main" table in database
Access to extension methods and fields can be achieved with interfaces.
|
| EntityExtensionPkColumn |
Defines a primary key column for multy-table extension with
EntityExtension |
| SimpleExtension |
Marks a class as an extension of another java class.
|
Copyright © 2018. All rights reserved.