Fast Object Database for Java - with JPA/JDO support

Internal Website Search

111-120 of 200 resultsRefresh
7

find(entityClass, primaryKey)

primary key. Search for an entity of the specified class and primary key. If the entity instance ... class primaryKey - primary key Returns: the found entity instance or null if the entity does not exist ... argument is is not a valid type for that entity’s primary key or is null Since: JPA 1.0
7

find(entityClass, primaryKey, lockMode, properties)

, LockModeType lockMode, Map properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect to the specified ... - entity class primaryKey - primary key lockMode - lock mode properties - standard and vendor
7

JoinColumn.name

embeddable class; "_"; the name of the referenced primary key column. If there is no such referencing ... of the referenced primary key column. Default value: "" Since: JPA 1.0 ... Annotation Element javax.persistence.JoinColumn String name (Optional) The name of the foreign key
6

[ODB1] Chapter 7 - JDOQL Queries

= (Collection)query.execute(); The primary ordering is age and the secondary ordering is children.size() (which is supported by ObjectDB as an extension to JDO). Results are ordered by the primary order expression. The secondary order expression is only needed when two or more result instances share the same primary ordering evaluation.
6

Index on map key

Is there a way to create an Index with @Index on the key of a map? wua Andreas Wurm Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use ... WHERE e.key = 'k50000'");         List resultList = query.getResultList();         ms
6

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... ();         MyKeyEntity key = new MyKeyEntity("key");         em.persist(key);         entity.map
6

Activation key causes database to not start

. We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log ... license key (for ObjectDB 1.x rather than for ObjectDB 2.x) was sent to you. Sorry about that. A new license key was sent to you now to replace the wrong license key. support Support It's ok. Thank
6

javax.persistence.OrderBy

. If the ordering element is not specified for an entity association, ordering by the primary key ... { ... @ManyToMany(mappedBy="students") @OrderBy // ordering by primary key is assumed ... by the primary key of the associated entity is assumed. Default value: "" Since: JPA 1.0
6

javax.persistence.CollectionTable

key columns of the collection table which reference the primary table of the entity. The default ... ., the concatenation of the following: the name of the entity; "_"; the name of the referenced primary key ... catalog is used. Default value: "" Since: JPA 2.0 JoinColumn[] joinColumns (Optional) The foreign key
6

MapKeyJoinColumn.table

using a foreign key mapping strategy, the name of the primary table of the entity that is the value of the map. Default value: "" Since: JPA 2.0 ... that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key

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