public class RelationalMappingContext extends AbstractMappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty>
MappingContext
implementation for JDBC.Constructor and Description |
---|
RelationalMappingContext()
Creates a new
RelationalMappingContext . |
RelationalMappingContext(NamingStrategy namingStrategy)
Creates a new
RelationalMappingContext using the given NamingStrategy . |
Modifier and Type | Method and Description |
---|---|
protected <T> RelationalPersistentEntity<T> |
createPersistentEntity(TypeInformation<T> typeInformation) |
protected RelationalPersistentProperty |
createPersistentProperty(Property property,
RelationalPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
NamingStrategy |
getNamingStrategy() |
boolean |
isForceQuote()
Return whether quoting should be enabled for all table and column names.
|
void |
setForceQuote(boolean forceQuote)
Enable/disable quoting for all tables and column names.
|
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationContext, setApplicationEventPublisher, setInitialEntitySet, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityFor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntity
public RelationalMappingContext()
RelationalMappingContext
.public RelationalMappingContext(NamingStrategy namingStrategy)
RelationalMappingContext
using the given NamingStrategy
.namingStrategy
- must not be null.public boolean isForceQuote()
public void setForceQuote(boolean forceQuote)
forceQuote
- protected <T> RelationalPersistentEntity<T> createPersistentEntity(TypeInformation<T> typeInformation)
createPersistentEntity
in class AbstractMappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty>
protected RelationalPersistentProperty createPersistentProperty(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)
createPersistentProperty
in class AbstractMappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty>
public NamingStrategy getNamingStrategy()
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.