Constructor and Description |
---|
Generic() |
Modifier and Type | Method and Description |
---|---|
void |
addMappings(Mapping mapping)
Given the attribute and
FieldType allows the platform to replace the storage type
with a platform specific one. |
GeneratedColumnDefinition |
generatedColumnDefinition() |
Generator<LimitedElement> |
limitGenerator() |
Generator<OrderByElement> |
orderByGenerator() |
boolean |
supportsAddingConstraint() |
boolean |
supportsGeneratedColumnsInPrepareStatement() |
boolean |
supportsGeneratedKeysInBatchUpdate() |
boolean |
supportsIfExists() |
boolean |
supportsInlineForeignKeyReference() |
boolean |
supportsUpsert() |
String |
toString() |
Generator<Map<Expression<?>,Object>> |
upsertGenerator() |
VersionColumnDefinition |
versionColumnDefinition() |
public void addMappings(Mapping mapping)
Platform
FieldType
allows the platform to replace the storage type
with a platform specific one. Substitution occurs both for table generation and entity
property conversion.addMappings
in interface Platform
mapping
- mapping containing type information of what is being read or written.public boolean supportsInlineForeignKeyReference()
supportsInlineForeignKeyReference
in interface Platform
public boolean supportsAddingConstraint()
supportsAddingConstraint
in interface Platform
public boolean supportsIfExists()
supportsIfExists
in interface Platform
public boolean supportsGeneratedKeysInBatchUpdate()
supportsGeneratedKeysInBatchUpdate
in interface Platform
Statement.getGeneratedKeys()
.public boolean supportsGeneratedColumnsInPrepareStatement()
supportsGeneratedColumnsInPrepareStatement
in interface Platform
Connection.prepareStatement(String, String[])
method should be used to get the generated key set when inserting records.public boolean supportsUpsert()
supportsUpsert
in interface Platform
Platform.upsertGenerator()
public GeneratedColumnDefinition generatedColumnDefinition()
generatedColumnDefinition
in interface Platform
public Generator<LimitedElement> limitGenerator()
limitGenerator
in interface Platform
public VersionColumnDefinition versionColumnDefinition()
versionColumnDefinition
in interface Platform
public Generator<Map<Expression<?>,Object>> upsertGenerator()
upsertGenerator
in interface Platform
public Generator<OrderByElement> orderByGenerator()
orderByGenerator
in interface Platform