Uses of Interface
org.springframework.data.relational.core.mapping.RelationalPersistentEntity
Packages that use RelationalPersistentEntity
Package
Description
Query support for relational database repositories.
Support infrastructure for query derivation of relational database repositories.
-
Uses of RelationalPersistentEntity in org.springframework.data.relational.core.conversion
Methods in org.springframework.data.relational.core.conversion that return types with arguments of type RelationalPersistentEntityModifier and TypeMethodDescriptionMappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> BasicRelationalConverter.getMappingContext()MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> RelationalConverter.getMappingContext()Returns the underlyingMappingContextused by the converter.Methods in org.springframework.data.relational.core.conversion with parameters of type RelationalPersistentEntityModifier and TypeMethodDescriptionstatic <T> IdValueSourceIdValueSource.forInstance(Object instance, RelationalPersistentEntity<T> persistentEntity) Returns the appropriateIdValueSourcefor the instance:IdValueSource.NONEwhen the entity has no id property,IdValueSource.PROVIDEDwhen the value of the id property is not null and when it is a primitive type, not zero, andIdValueSource.GENERATEDotherwise.static <S> NumberRelationalEntityVersionUtils.getVersionNumberFromEntity(S instance, RelationalPersistentEntity<S> persistentEntity, RelationalConverter converter) Get the current value of the version property for an instance of a relational persistent entity.static <S> SRelationalEntityVersionUtils.setVersionNumberOnEntity(S instance, Number version, RelationalPersistentEntity<S> persistentEntity, RelationalConverter converter) Set the version property on an instance of a relational persistent entity.Constructor parameters in org.springframework.data.relational.core.conversion with type arguments of type RelationalPersistentEntityModifierConstructorDescriptionBasicRelationalConverter(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) Creates a newBasicRelationalConvertergivenMappingContext.BasicRelationalConverter(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, CustomConversions conversions) -
Uses of RelationalPersistentEntity in org.springframework.data.relational.core.mapping
Methods in org.springframework.data.relational.core.mapping that return RelationalPersistentEntityModifier and TypeMethodDescriptionprotected <T> RelationalPersistentEntity<T>RelationalMappingContext.createPersistentEntity(TypeInformation<T> typeInformation) PersistentPropertyPathExtension.getLeafEntity()TheRelationalPersistentEntityassociated with the leaf of this path.BasicRelationalPersistentProperty.getOwner()RelationalPersistentProperty.getOwner()PersistentPropertyPathExtension.getRequiredLeafEntity()TheRelationalPersistentEntityassociated with the leaf of this path or throwIllegalStateExceptionif the leaf cannot be resolved.Methods in org.springframework.data.relational.core.mapping with parameters of type RelationalPersistentEntityModifier and TypeMethodDescriptionprotected RelationalPersistentPropertyRelationalMappingContext.createPersistentProperty(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) Constructors in org.springframework.data.relational.core.mapping with parameters of type RelationalPersistentEntityModifierConstructorDescriptionPersistentPropertyPathExtension(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, RelationalPersistentEntity<?> entity) Creates the empty path referencing the root itself.Constructor parameters in org.springframework.data.relational.core.mapping with type arguments of type RelationalPersistentEntityModifierConstructorDescriptionPersistentPropertyPathExtension(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, PersistentPropertyPath<? extends RelationalPersistentProperty> path) Creates a non-empty path.PersistentPropertyPathExtension(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, RelationalPersistentEntity<?> entity) Creates the empty path referencing the root itself. -
Uses of RelationalPersistentEntity in org.springframework.data.relational.repository.query
Methods in org.springframework.data.relational.repository.query that return RelationalPersistentEntityModifier and TypeMethodDescriptionRelationalEntityMetadata.getTableEntity()Returns theRelationalPersistentEntitythat supposed to determine the table to be queried.SimpleRelationalEntityMetadata.getTableEntity()Constructors in org.springframework.data.relational.repository.query with parameters of type RelationalPersistentEntityModifierConstructorDescriptionSimpleRelationalEntityMetadata(Class<T> type, RelationalPersistentEntity<?> tableEntity) Creates a newSimpleRelationalEntityMetadatausing the given type andRelationalPersistentEntityto use for table lookups.Constructor parameters in org.springframework.data.relational.repository.query with type arguments of type RelationalPersistentEntityModifierConstructorDescriptionRelationalExampleMapper(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) -
Uses of RelationalPersistentEntity in org.springframework.data.relational.repository.support
Constructors in org.springframework.data.relational.repository.support with parameters of type RelationalPersistentEntityModifierConstructorDescriptionCreates a newMappingRelationalEntityInformationfor the givenRelationalPersistentEntity.MappingRelationalEntityInformation(RelationalPersistentEntity<T> entity, Class<ID> fallbackIdType) Creates a newMappingRelationalEntityInformationfor the givenRelationalPersistentEntityand fallback identifier type.MappingRelationalEntityInformation(RelationalPersistentEntity<T> entity, String customTableName) Creates a newMappingRelationalEntityInformationfor the givenRelationalPersistentEntityand custom table name.