Annotation Interface DirectCopyTransformMember
- Author:
- Jeff Fischer
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionjakarta.persistence.Index[]The name that should be used when dynamically generating index names instead of the table name.booleanbooleanDefaults to false.
-
Element Details
-
templateTokens
String[] templateTokens
-
-
-
renameMethodOverlaps
boolean renameMethodOverlaps- Default:
- false
-
skipOverlaps
boolean skipOverlapsDefaults to false.
skipOverlaps is useful if you want to make sure the load time weaving does not try to insert methods you have already implemented. For example, if you have already implemented the Status interface and methods (e.g. Offer), then you don't want the system to try to overwrite these.
- Returns:
- Default:
- true
-
overrideIndexNameKey
String overrideIndexNameKeyThe name that should be used when dynamically generating index names instead of the table name. This is needed when two entities have table names that create the same dynamic index names. Generally the strategy used to create the table name part of the index is to use the first two characters of each word in the table name split on the underscores.i.e. BLC_APPLE_CARROT -> BLAPCA BLC_APPLY_CAR -> BLAPCA
Since both tables have a collision, BLC_APPLY_CAR can set this property to "BLAPPCA" to avoid collisions
- Returns:
- Default:
- ""
-
indexes
jakarta.persistence.Index[] indexes- Default:
- {}
-