Class PersistenceUnitMetadataImpl
java.lang.Object
org.hibernate.boot.models.xml.internal.PersistenceUnitMetadataImpl
- All Implemented Interfaces:
PersistenceUnitMetadata
Aggregator of information from
entity-mappings/persistence-unit-metadata
and entity-mappings/persistence-unit-metadata/persistence-unit-defaults
across all mapping XML files in the persistence-unit.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(JaxbPersistenceUnitMetadataImpl metadata) booleanWhether XML mappings are complete for the entire persistent unit.Default AccessType in effect for the entire persistence unit.Name of the defaultPropertyAccessStrategyin effect for the entire persistence unit Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/default-accessCascades to apply by default for this persistence unit Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/default-cascadeDefault catalog in effect for the entire persistent unit.Default schema in effect for the entire persistent unit.booleanWhether to quote all database identifiers in the persistence unit Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/delimited-identifiers
-
Constructor Details
-
PersistenceUnitMetadataImpl
public PersistenceUnitMetadataImpl()
-
-
Method Details
-
areXmlMappingsComplete
public boolean areXmlMappingsComplete()Description copied from interface:PersistenceUnitMetadataWhether XML mappings are complete for the entire persistent unit. Seeentity-mappings/persistence-unit-metadata/xml-mapping-metadata-complete- Specified by:
areXmlMappingsCompletein interfacePersistenceUnitMetadata
-
getDefaultSchema
Description copied from interface:PersistenceUnitMetadataDefault schema in effect for the entire persistent unit. Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/schema- Specified by:
getDefaultSchemain interfacePersistenceUnitMetadata
-
getDefaultCatalog
Description copied from interface:PersistenceUnitMetadataDefault catalog in effect for the entire persistent unit. Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/catalog- Specified by:
getDefaultCatalogin interfacePersistenceUnitMetadata
-
getAccessType
Description copied from interface:PersistenceUnitMetadataDefault AccessType in effect for the entire persistence unit. Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/access- Specified by:
getAccessTypein interfacePersistenceUnitMetadata
-
getDefaultAccessStrategyName
Description copied from interface:PersistenceUnitMetadataName of the defaultPropertyAccessStrategyin effect for the entire persistence unit Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/default-access- Specified by:
getDefaultAccessStrategyNamein interfacePersistenceUnitMetadata
-
getDefaultCascadeTypes
Description copied from interface:PersistenceUnitMetadataCascades to apply by default for this persistence unit Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/default-cascade- Specified by:
getDefaultCascadeTypesin interfacePersistenceUnitMetadata
-
useQuotedIdentifiers
public boolean useQuotedIdentifiers()Description copied from interface:PersistenceUnitMetadataWhether to quote all database identifiers in the persistence unit Seeentity-mappings/persistence-unit-metadata/persistence-unit-defaults/delimited-identifiers- Specified by:
useQuotedIdentifiersin interfacePersistenceUnitMetadata
-
apply
-