ObjectDB ObjectDB

Internal Website Search

1-10 of 29 resultsRefresh
105

javax.persistence.AccessType

javax.persistence Enum AccessType java.lang.Object java.lang.Enum<javax.persistence.AccessType> javax.persistence.AccessType Implemented Interfaces: Serializable, Comparable<AccessType ... See Also: Access AccessType FIELD Field-based access is used. Field-based access is used. Since: JPA 2.0
97

values()

Static Method javax.persistence.AccessType AccessType[] values() Returns an array containing the constants of this enum type. This method may be used to iterate over the constants as follows: for (AccessType c : AccessType.values()) System.out.println(c) Returns: an array containing
93

valueOf(name)

Static Method javax.persistence.AccessType AccessType valueOf( String name ) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Parameters: name - the name of the enum constant to be returned
90

AccessType.PROPERTY

Enum Constant javax.persistence.AccessType PROPERTY Property-based access is used. Since: JPA 2.0
90

AccessType.FIELD

Enum Constant javax.persistence.AccessType FIELD Field-based access is used. Since: JPA 2.0
35

JPA Annotations for Access Modes

Reference (JavaDoc) of JPA 2 access mode annotations, including @Access and AccessType (enum).
22

JPA Entity Fields

(AccessType.PROPERTY) public static class PropertyAccess { private int _id; @Id int getId
6

Access.value

Annotation Element javax.persistence.Access AccessType value (Required) Specification of field- or property-based access. Since: JPA 2.0
6

javax.persistence.Access

javax.persistence Annotation Access Target: Classes and fields (including property get methods) Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0 AccessType value (Required
6

java.lang.Comparable

java.lang Interface Comparable<T> Implementing Classes: AccessType, PersistentAttributeType, BindableType, ByteIdentity, CacheRetrieveMode, CacheStoreMode, CascadeType, CharIdentity, Trimspec, DiscriminatorStrategy, DiscriminatorType, Enum, EnumType, FetchType, FlushModeType, ForeignKeyAction

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support