About field

release

2.6.1

... Fixed return type of SUM queries on BigDecimal field ( issue #236 ). Fixed a client activation issue when ... Fixed a ClassCastException on selecting an embedded ID field in queries. Fixed an exception ( NullPointerException ) ...

 
release

2.4.6

... merging). Fixed a bug in using a collection field index in queries. Fixed query plan selection for queries with boolean indexed field. Fixed a NullPointerException on Doctor run that ...

 
release

2.5.3

... mapped (inverse) to-many relationship into an array field ([]) ( issue #195 ). Fixed a bug in loading mapped ... Fixed a bug in loading reference primary key field of an abstract type. Fixed JDO sequence names to be fully ...

 
manual

Locking in JPA

Explains how to use optimistic locking and pessimistic locking in JPA.... internally but can be exposed by defining a version field . During commit commit() EntityTransaction's ... by default in ObjectDB, regardless if a version field (which is required by some ORM JPA providers) is defined in the entity ...

 
forum_thread

Composite indexes

Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/index), but I still have some problems understanding how and when should I use them.   Let's start with some example then. Assume we have an entity that represents an interior design image, called Inspiration : ... of all - the first member in composite index should be a field that is most commonly used in WHERE clauses or maybe the filed that is ... clause for query that returns the biggest result set? Or a field that returns the smallest subset of unique records (like for example ...

 
release

2.5.2

... mapped (inverse) to-many relationship into an array field ([]) ( issue #195 ). Fixed a bug in loading mapped ... Fixed a bug in loading reference primary key field of an abstract type. Fixed JDO sequence names to be fully ...

 
api-jpa

AccessType.FIELD

Field-based access is used.(Enum Constant of javax.persistence.AccessType)

 
release

2.4.7

... merging). Fixed a bug in using a collection field index in queries. Fixed query plan selection for queries with boolean indexed field. Fixed a NullPointerException on Doctor run that ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... is usually unacceptable. A persistent reference field can be excluded from this automatic cascaded retrieval by using a lazy ... that the retrieval operation is cascaded through the field. Explicitly specifying FetchType javax.persistence.FetchType ...

 
api-jpa

javax.persistence.Version

Specifies the version field or property of an entity class that serves as its optimistic lock value.(Annotation of JPA)