Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbPersistenceUnitDefaults

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:persistence-unit-defaults
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:description, schema, catalog, delimitedIdentifiers, access, defaultAccess, cascadePersist, defaultCascade, autoImport, defaultLazy, entityListeners
Imports
java.io.Serializable, jakarta.persistence.AccessType, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlElement, .XmlSchemaType, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter

These defaults are applied to the persistence unit as a whole unless they are overridden by local annotation or XML element settings. schema - Used as the schema for all tables, secondary tables, join tables, collection tables, sequence generators, and table generators that apply to the persistence unit catalog - Used as the catalog for all tables, secondary tables, join tables, collection tables, sequence generators, and table generators that apply to the persistence unit delimited-identifiers - Used to treat database identifiers as delimited identifiers. access - Used as the access type for all managed classes in the persistence unit cascade-persist - Adds cascade-persist to the set of cascade options in all entity relationships of the persistence unit entity-listeners - List of default entity listeners to be invoked on each entity in the persistence unit.

Java class for persistence-unit-defaults complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="persistence-unit-defaults">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="delimited-identifiers" type="{http://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/>
        <choice minOccurs="0">
          <element name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type"/>
          <element name="default-access" type="{http://www.w3.org/2001/XMLSchema}string"/>
        </choice>
        <choice minOccurs="0">
          <element name="cascade-persist" type="{http://www.hibernate.org/xsd/orm/mapping}emptyType" minOccurs="0"/>
          <element name="default-cascade" type="{http://www.w3.org/2001/XMLSchema}string"/>
        </choice>
        <element name="auto-import" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
        <element name="default-lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
        <element name="entity-listeners" type="{http://www.hibernate.org/xsd/orm/mapping}entity-listeners" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected Boolean
protected JaxbEmptyType
protected String
protected String
protected String
protected Boolean
protected JaxbEmptyType
protected String
protected JaxbEntityListeners
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Gets the value of the access property.

public JaxbEmptyType

Returns:

possible object is JaxbEmptyType
getCascadePersist
()

Gets the value of the cascadePersist property.

public String

Returns:

possible object is String
getCatalog
()

Gets the value of the catalog property.

public String

Returns:

possible object is String
getDefaultAccess
()

Gets the value of the defaultAccess property.

public String

Returns:

possible object is String
getDefaultCascade
()

Gets the value of the defaultCascade property.

public JaxbEmptyType

Returns:

possible object is JaxbEmptyType
getDelimitedIdentifiers
()

Gets the value of the delimitedIdentifiers property.

public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public JaxbEntityListeners

Returns:

possible object is JaxbEntityListeners
getEntityListeners
()

Gets the value of the entityListeners property.

public String

Returns:

possible object is String
getSchema
()

Gets the value of the schema property.

public Boolean

Returns:

possible object is Boolean
isAutoImport
()

Gets the value of the autoImport property.

public Boolean

Returns:

possible object is Boolean
isDefaultLazy
()

Gets the value of the defaultLazy property.

public void
setAccess(AccessType
allowed object is String
value
)

Sets the value of the access property.

public void
setAutoImport(Boolean
allowed object is Boolean
value
)

Sets the value of the autoImport property.

public void
setCascadePersist(JaxbEmptyType
allowed object is JaxbEmptyType
value
)

Sets the value of the cascadePersist property.

public void
setCatalog(String
allowed object is String
value
)

Sets the value of the catalog property.

public void
setDefaultAccess(String
allowed object is String
value
)

Sets the value of the defaultAccess property.

public void
setDefaultCascade(String
allowed object is String
value
)

Sets the value of the defaultCascade property.

public void
setDefaultLazy(Boolean
allowed object is Boolean
value
)

Sets the value of the defaultLazy property.

public void
setDelimitedIdentifiers(JaxbEmptyType
allowed object is JaxbEmptyType
value
)

Sets the value of the delimitedIdentifiers property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setEntityListeners(JaxbEntityListeners
allowed object is JaxbEntityListeners
value
)

Sets the value of the entityListeners property.

public void
setSchema(String
allowed object is String
value
)

Sets the value of the schema property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
type:String
@XmlJavaTypeAdapter:Adapter1
@XmlSchemaType
name:token
autoImportback to summary
protected Boolean autoImport
Annotations
@XmlElement
name:auto-import
namespace:http://www.hibernate.org/xsd/orm/mapping
cascadePersistback to summary
protected JaxbEmptyType cascadePersist
Annotations
@XmlElement
name:cascade-persist
namespace:http://www.hibernate.org/xsd/orm/mapping
catalogback to summary
protected String catalog
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
defaultAccessback to summary
protected String defaultAccess
Annotations
@XmlElement
name:default-access
namespace:http://www.hibernate.org/xsd/orm/mapping
defaultCascadeback to summary
protected String defaultCascade
Annotations
@XmlElement
name:default-cascade
namespace:http://www.hibernate.org/xsd/orm/mapping
defaultLazyback to summary
protected Boolean defaultLazy
Annotations
@XmlElement
name:default-lazy
namespace:http://www.hibernate.org/xsd/orm/mapping
delimitedIdentifiersback to summary
protected JaxbEmptyType delimitedIdentifiers
Annotations
@XmlElement
name:delimited-identifiers
namespace:http://www.hibernate.org/xsd/orm/mapping
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
entityListenersback to summary
protected JaxbEntityListeners entityListeners
Annotations
@XmlElement
name:entity-listeners
namespace:http://www.hibernate.org/xsd/orm/mapping
schemaback to summary
protected String schema
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbPersistenceUnitDefaultsback to summary
public JaxbPersistenceUnitDefaults()

Method Detail

getAccessback to summary
public AccessType getAccess()

Gets the value of the access property.

Returns:AccessType

possible object is String

getCascadePersistback to summary
public JaxbEmptyType getCascadePersist()

Gets the value of the cascadePersist property.

Returns:JaxbEmptyType

possible object is JaxbEmptyType

getCatalogback to summary
public String getCatalog()

Gets the value of the catalog property.

Returns:String

possible object is String

getDefaultAccessback to summary
public String getDefaultAccess()

Gets the value of the defaultAccess property.

Returns:String

possible object is String

getDefaultCascadeback to summary
public String getDefaultCascade()

Gets the value of the defaultCascade property.

Returns:String

possible object is String

getDelimitedIdentifiersback to summary
public JaxbEmptyType getDelimitedIdentifiers()

Gets the value of the delimitedIdentifiers property.

Returns:JaxbEmptyType

possible object is JaxbEmptyType

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getEntityListenersback to summary
public JaxbEntityListeners getEntityListeners()

Gets the value of the entityListeners property.

Returns:JaxbEntityListeners

possible object is JaxbEntityListeners

getSchemaback to summary
public String getSchema()

Gets the value of the schema property.

Returns:String

possible object is String

isAutoImportback to summary
public Boolean isAutoImport()

Gets the value of the autoImport property.

Returns:Boolean

possible object is Boolean

isDefaultLazyback to summary
public Boolean isDefaultLazy()

Gets the value of the defaultLazy property.

Returns:Boolean

possible object is Boolean

setAccessback to summary
public void setAccess(AccessType value)

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setAutoImportback to summary
public void setAutoImport(Boolean value)

Sets the value of the autoImport property.

Parameters
value:Boolean

allowed object is Boolean

setCascadePersistback to summary
public void setCascadePersist(JaxbEmptyType value)

Sets the value of the cascadePersist property.

Parameters
value:JaxbEmptyType

allowed object is JaxbEmptyType

setCatalogback to summary
public void setCatalog(String value)

Sets the value of the catalog property.

Parameters
value:String

allowed object is String

setDefaultAccessback to summary
public void setDefaultAccess(String value)

Sets the value of the defaultAccess property.

Parameters
value:String

allowed object is String

setDefaultCascadeback to summary
public void setDefaultCascade(String value)

Sets the value of the defaultCascade property.

Parameters
value:String

allowed object is String

setDefaultLazyback to summary
public void setDefaultLazy(Boolean value)

Sets the value of the defaultLazy property.

Parameters
value:Boolean

allowed object is Boolean

setDelimitedIdentifiersback to summary
public void setDelimitedIdentifiers(JaxbEmptyType value)

Sets the value of the delimitedIdentifiers property.

Parameters
value:JaxbEmptyType

allowed object is JaxbEmptyType

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setEntityListenersback to summary
public void setEntityListeners(JaxbEntityListeners value)

Sets the value of the entityListeners property.

Parameters
value:JaxbEntityListeners

allowed object is JaxbEntityListeners

setSchemaback to summary
public void setSchema(String value)

Sets the value of the schema property.

Parameters
value:String

allowed object is String