public interface RelationalPersistentProperty extends PersistentProperty<RelationalPersistentProperty>
PersistentProperty with methods for additional JDBC/RDBMS related meta data.| Modifier and Type | Method and Description |
|---|---|
String |
getColumnName()
Returns the name of the column backing this property.
|
Class<?> |
getColumnType()
The type to be used to store this property in the database.
|
default String |
getEmbeddedPrefix() |
String |
getKeyColumn() |
RelationalPersistentEntity<?> |
getOwner() |
Class<?> |
getQualifierColumnType() |
String |
getReverseColumnName()
Deprecated.
|
default String |
getReverseColumnName(PersistentPropertyPathExtension path) |
int |
getSqlType()
The SQL type constant used when using this property as a parameter for a SQL statement.
|
default boolean |
isEmbedded() |
boolean |
isOrdered()
Returns whether this property is an ordered property.
|
boolean |
isQualified()
Returns if this property is a qualified property, i.e. a property referencing multiple elements that can get picked
by a key or an index.
|
boolean |
isReference() |
boolean |
shouldCreateEmptyEmbedded()
Returns whether an empty embedded object is supposed to be created for this property.
|
findAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccessboolean isReference()
String getColumnName()
Class<?> getColumnType()
String[][] returns String[]).Class that is suitable for usage with JDBC drivers.org.springframework.data.jdbc.support.JdbcUtil#sqlTypeFor(Class)int getSqlType()
null.TypesRelationalPersistentEntity<?> getOwner()
getOwner in interface PersistentProperty<RelationalPersistentProperty>@Deprecated String getReverseColumnName()
getReverseColumnName(PersistentPropertyPathExtension) instead.default String getReverseColumnName(PersistentPropertyPathExtension path)
boolean isQualified()
Class<?> getQualifierColumnType()
boolean isOrdered()
default boolean isEmbedded()
@Nullable default String getEmbeddedPrefix()
boolean shouldCreateEmptyEmbedded()
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.