org.eclipse.jpt.jpa.core.context.orm
Interface OrmPersistenceUnitDefaults
- All Superinterfaces:
- AccessReference, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, MappingFilePersistenceUnitDefaults, Model, SpecifiedAccessReference
- All Known Subinterfaces:
- EclipseLinkPersistenceUnitDefaults, OrmPersistenceUnitDefaults2_0
public interface OrmPersistenceUnitDefaults
- extends MappingFilePersistenceUnitDefaults, SpecifiedAccessReference
Context model corresponding to the
XML resource model XmlPersistenceUnitDefaults,
which corresponds to the persistence-unit-defaults element
in the orm.xml file.
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
- Since:
- 2.1
SPECIFIED_CATALOG_PROPERTY
static final String SPECIFIED_CATALOG_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_CATALOG_PROPERTY
static final String DEFAULT_CATALOG_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_SCHEMA_PROPERTY
static final String SPECIFIED_SCHEMA_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_SCHEMA_PROPERTY
static final String DEFAULT_SCHEMA_PROPERTY
- See Also:
- Constant Field Values
CASCADE_PERSIST_PROPERTY
static final String CASCADE_PERSIST_PROPERTY
- See Also:
- Constant Field Values
getParent
OrmPersistenceUnitMetadata getParent()
- Covariant override.
- Specified by:
getParent in interface JpaContextModel- Specified by:
getParent in interface JpaModel- Specified by:
getParent in interface MappingFilePersistenceUnitDefaults
getDbSchemaContainer
SchemaContainer getDbSchemaContainer()
getSpecifiedCatalog
String getSpecifiedCatalog()
setSpecifiedCatalog
void setSpecifiedCatalog(String newSpecifiedCatalog)
getDefaultCatalog
String getDefaultCatalog()
getDbCatalog
Catalog getDbCatalog()
getSpecifiedSchema
String getSpecifiedSchema()
setSpecifiedSchema
void setSpecifiedSchema(String newSpecifiedSchema)
getDefaultSchema
String getDefaultSchema()
getDbSchema
Schema getDbSchema()
setCascadePersist
void setCascadePersist(boolean value)
Copyright (c) 2012 Oracle. All rights reserved.