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