About or

  • Search for either of the two terms with uppercase OR. For example, cats OR dogs.
api-jpa

javax.persistence.MapKey

Specifies the map key for associations of type java.util.Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map.(Annotation of JPA)

 
api-jdo

javax.jdo.annotations.Element

Annotation for the element of a collection/array relation.(Annotation of JDO)

 
api-jpa

javax.persistence.criteria.CompoundSelection

The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor).(Interface of JPA)

 
release

2.3.4

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 please read ... 2.3.3 Improved compilation performance of OR queries with many elements. Fixed eager fetch of maps and ...

 
api-jdo

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence.EntityManagerFactory cast to a PersistenceManagerFactory.(Static Method of javax.jdo.JDOHelper)

 
release

2.2.9

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 please read ... . Added error on using transient fields (or properties) in queries. Added type information to enhancement ...

 
issue

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

objectdb-2.2.5_08 NetbeansID6.9.1+Glassfish3.01 I suspect the following is an Explorer bug. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. ... it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running ... com.greensoft.entity.Activity [null](TEST: activity 5 (OR composite)) INFO: RequestBean []: Persisted: com.greensoft.entity.Activity [26](TEST: activity 5 (OR composite)) INFO: addSubActivityToActivity: subActivityId(22) assigned ...

 
manual

Schema Update

Explains how to handle JPA/JDO database schema evolution in ObjectDB.... databases as a complementary operation to renaming or moving these elements in the IDE during source code refactoring. Only these ... caution is required when persistable classes are renamed or moved to another package. Running the application with persistable classes ...

 
manual

JPA Query Expressions (JPQL / Criteria)

Describes JPA query (JPQL / Criteria API) expressions (literals, operators and functions).... LIKE operator. Logical operators : AND, OR, NOT. In addition, JPA queries support predefined functions, ... for testing whether the first argument is greater than or equal to the second. See JavaDoc Reference Page... , lt ...

 
forum_thread

Problems down-casting in WHERE clause

I have a family of related types, like this: @Entity class Base { String val1; String val2; }; @Entity class Derived1 extends Base { String val3; }; @Entity class Derived2 extends Base { String val4; };  I'm trying to implement a query which will return all Base objects which have a given string within any of their String-typed fields.  The query I'm using looks somewhat like this: ... b FROM Base b WHERE b . val1 LIKE :search OR b . val2 LIKE :search OR TYPE ( b ) = Derived1 AND ( ( Derived1 ...