Package | Description |
---|---|
org.springframework.data.jdbc.core.convert |
JDBC-specific conversion classes.
|
org.springframework.data.jdbc.core.mapping | |
org.springframework.data.jdbc.mybatis | |
org.springframework.data.jdbc.repository.query |
Query derivation mechanism for JDBC specific repositories.
|
org.springframework.data.relational.core.conversion | |
org.springframework.data.relational.core.mapping | |
org.springframework.data.relational.repository.query |
Query support for relational database repositories.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
JdbcConverter.getColumnType(RelationalPersistentProperty property)
The type to be used to store this property in the database.
|
Class<?> |
BasicJdbcConverter.getColumnType(RelationalPersistentProperty property) |
int |
JdbcConverter.getSqlType(RelationalPersistentProperty property)
The SQL type constant used when using this property as a parameter for a SQL statement.
|
int |
BasicJdbcConverter.getSqlType(RelationalPersistentProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
DataAccessStrategy.delete(Object rootId,
PersistentPropertyPath<RelationalPersistentProperty> propertyPath)
Deletes all entities reachable via propertyPath from the instance identified by rootId.
|
void |
DelegatingDataAccessStrategy.delete(Object rootId,
PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DefaultDataAccessStrategy.delete(Object rootId,
PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
CascadingDataAccessStrategy.delete(Object rootId,
PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath)
Deletes all entities reachable via propertyPath from any instance.
|
void |
DelegatingDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DefaultDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
CascadingDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
Iterable<Object> |
DataAccessStrategy.findAllByPath(Identifier identifier,
PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Iterable<Object> |
RelationResolver.findAllByPath(Identifier identifier,
PersistentPropertyPath<? extends RelationalPersistentProperty> path)
Finds all entities reachable via path.
|
Iterable<Object> |
DelegatingDataAccessStrategy.findAllByPath(Identifier identifier,
PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Iterable<Object> |
DefaultDataAccessStrategy.findAllByPath(Identifier identifier,
PersistentPropertyPath<? extends RelationalPersistentProperty> propertyPath) |
Iterable<Object> |
CascadingDataAccessStrategy.findAllByPath(Identifier identifier,
PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Constructor and Description |
---|
BasicJdbcConverter(MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
RelationResolver relationResolver)
Creates a new
BasicRelationalConverter given MappingContext and a
no-op type factory throwing UnsupportedOperationException on type
creation. |
BasicJdbcConverter(MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
RelationResolver relationResolver,
CustomConversions conversions,
JdbcTypeFactory typeFactory,
IdentifierProcessing identifierProcessing)
Creates a new
BasicRelationalConverter given MappingContext . |
Modifier and Type | Class and Description |
---|---|
class |
BasicJdbcPersistentProperty
Extension to
BasicRelationalPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
protected RelationalPersistentProperty |
JdbcMappingContext.createPersistentProperty(Property property,
RelationalPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
Constructor and Description |
---|
BasicJdbcPersistentProperty(Property property,
PersistentEntity<?,RelationalPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder,
NamingStrategy namingStrategy)
Creates a new
BasicJdbcPersistentProperty . |
BasicJdbcPersistentProperty(Property property,
PersistentEntity<?,RelationalPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder,
RelationalMappingContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MyBatisDataAccessStrategy.delete(Object rootId,
PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
MyBatisDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
Iterable<Object> |
MyBatisDataAccessStrategy.findAllByPath(Identifier identifier,
PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Constructor and Description |
---|
JdbcQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory factory,
NamedQueries namedQueries,
MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> mappingContext) |
Modifier and Type | Class and Description |
---|---|
class |
BasicRelationalPersistentProperty
Meta data about a property to be used by repository implementations.
|
Modifier and Type | Method and Description |
---|---|
protected RelationalPersistentProperty |
RelationalMappingContext.createPersistentProperty(Property property,
RelationalPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
RelationalPersistentProperty |
PersistentPropertyPathExtension.getRequiredIdProperty()
The id property of the final element of the path.
|
Modifier and Type | Method and Description |
---|---|
protected Association<RelationalPersistentProperty> |
BasicRelationalPersistentProperty.createAssociation() |
PersistentPropertyPath<? extends RelationalPersistentProperty> |
PersistentPropertyPathExtension.getRequiredPersistentPropertyPath()
Converts this path to a non-null
PersistentPropertyPath . |
Modifier and Type | Method and Description |
---|---|
PersistentPropertyPathExtension |
PersistentPropertyPathExtension.extendBy(RelationalPersistentProperty property)
Creates a new path by extending the current path by the property passed as an argument.
|
default String |
NamingStrategy.getColumnName(RelationalPersistentProperty property)
Defaults to return the given
RelationalPersistentProperty 's name with the parts of a camel case name
separated by '_'; |
default String |
NamingStrategy.getKeyColumn(RelationalPersistentProperty property)
For a map valued reference A -> Map>X,B< this is the name of the column in the table for B holding the key of
the map.
|
default String |
NamingStrategy.getReverseColumnName(RelationalPersistentProperty property)
For a reference A -> B this is the name in the table for B which references A.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PersistentPropertyPathExtension.matches(PersistentPropertyPath<RelationalPersistentProperty> path)
Tests if
this and the argument represent the same path. |
Constructor and Description |
---|
DtoInstantiatingConverter(Class<?> dtoType,
MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
EntityInstantiators instantiator)
Creates a new
Converter to instantiate DTOs. |
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.