General tab


This table lists the fields available on the General tab in the Persistence Properties view for each entity type.

Property Description Default Available for Entity Type
Access Type Specify how the entity its access instance variables.
  • Property – Persistent state accessed through the property accessor methods. The property accessor methods must be public or private.

  • Field – Instance variables are accessed directly. All non-transient instance variables are persistent.

Note: This field is for display only, based on the properties in the orm.xml: If only the methods of the class are annotated, property access type is used. In all other cases, field access type is used.

Property Persistent entity, Embeddable, and Mapped superclass
Name The name of this entity. By default, the class name is used as the entity name.
Persistent entity
Table Name The primary database table associated with the entity.
Persistent entity
Attribute Overrides Specify a property or field to be overridden (from the default mappings).
Persistent entity
Column The database column (from the Table Name) mapped to the entity.
Persistent entity
  Name Name of the database column.
Persistent entity
  Table Name of the database table that contains the selected column.
Persistent entity
  Insertable Specifies if the column is always included in SQL INSERT statements. True Persistent entity
  Updatable Specifies if this column is always included in SQL UPDATE statements. True Persistent entity

 

Related task

Creating a new Java persistent entity
Adding persistence to a class

 

Related reference

Persistence Properties view (for entities)