Home » Search

About version

91-100 of 200Refresh
Manual
5

Running JPA Queries

, but the version of Query returns a result list of a raw type (non generic) instead of a parameterized (generic
Tutorial
5

Spring MVC and JPA Tutorial

objects are stored in an ObjectDB database. This tutorial is available in the following versions: In
Manual
5

Storing JPA Entity Objects

/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" version="1.0
FAQ
5

What are the system requirements for using ObjectDB?

ObjectDB requires Java 5 or later (Java 6 is preferred). As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.
Manual
5

Defining a JPA Entity Class

for persistent fields, how to define and use a primary key and what a version field is and how to use
JPA Doc
5

javax.persistence.LockModeType

.OPTIMISTIC on a versioned object, the entity manager must ensure that neither of the following ... of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update (increment) to the entity's version column. The persistence implementation is not required to support
JDO Doc
4

javax.jdo.Constants

See Also: PersistenceManagerFactory.getProperties() String NONCONFIGURABLE_PROPERTY_VERSION_NUMBER ... See Also: PersistenceManagerFactory.supportedOptions() String OPTION_VERSION_DATETIME "javax.jdo.option.version.DateTime" "javax.jdo.option.version.DateTime" Since: JDO 2.1
JPA Doc
4

javax.persistence.MappedSuperclass

{ @Id protected Integer empId; @Version protected Integer version; @ManyToOne ... to FTEMPLOYEE.EMPID // Inherited version field mapped to FTEMPLOYEE.VERSION ... empId field mapped to PT_EMP.EMPID // Inherited version field mapped to PT_EMP.VERSION
Forum
3

Optimistic locking failure

---------------------------------------------------------- READ(A) version=1 value=0 | READ(B) version=1 value=0 | | READ(A) version=1 value=0 | READ(B) version=1 value=0 | B = A + B + 20 | WRITE(B) version=2
JPA Doc
3

getDeclaredVersion(type)

(   Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared version attribute Returns: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Since: JPA 2.0