Persistence Options

The following options are available:

Field

Description

Schema

Specifies the name of the schema.

Hibernate Tag: schema

Catalog

Specifies the name of the catalog.

Hibernate Tag: catalog

Where clause

Specifies an arbitrary SQL WHERE condition to be used when retrieving objects of this class.

Hibernate Tag: where

Check

Specifies a SQL expression used to generate a multi-row check constraint for automatic schema generation.

Hibernate Tag: check

Fetch type

Specifies outer-join or sequential select fetching.

Hibernate Tag: fetch

Persister class

Specifies a custom persistence class.

Hibernate Tag: persister

Subselect

Specifies an immutable and read-only entity to a database subselect.

Hibernate Tag: subselect

Index column

Specifies the column name if users use list or array collection type.

Hibernate Tag: index

Insert

Specifies that the mapped columns should be included in any SQL INSERT statements.

Hibernate Tag: insert

Update

Specifies that the mapped columns should be included in any SQL UPDATE statements.

Hibernate Tag: update

Lazy

Specifies that this property should be fetched lazily when the instance variable is first accessed.

Hibernate Tag: lazy

Optimistic lock

Specifies that a version increment should occur when this property is dirty.

Hibernate Tag: optimistic-lock

Outer join

Specifies to use an outer-join.

Hibernate Tag: outer-join