ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
7

Eclipse Public License - v 1.0

additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or ... , such as lost profits; iii) states that any provisions which differ from this Agreement are offered
7

Shared (L2) Entity Cache

an entity object that is already managed by the EntityManager returns the existing instance from ... - every entity class which is not marked with @Cacheable inherits cacheability setting from its super ... context. If an entity object is not available also in the shared cache - it is retrieved from
7

Working with JPA Entity Objects

are provided in the Storing Entities section. Entity objects retrieved from the database by ... . A managed entity object can also be retrieved from the database and marked for deletion, using the EntityManager’s remove method within an active transaction. The entity object changes its state from Managed
7

JPA Primary Key

that is absent from other object oriented databases. Entity Identification Every entity object in the database is uniquely identified (and can be retrieved from the database) by the combination of its type ... are deleted from the database. The primary key value of an entity can be accessed by declaring a primary
6

Apache License, Version 2.0, January 2004

resulting from mechanical transformation or translation of a Source form, including but not limited ... , that is based on (or derived from) the Work and for which the editorial revisions, annotations ... . For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely
6

JPA / JDO Class Enhancer

file. You can run it from the command line as follows: > java -cp objectdb.jar com.objectdb ... /Linux) from the ObjectDB bin directory. To use that script you have to edit the paths to theobjectdb ... \*"/> </java> Enhancement API The ObjectDB Enhancer can also be invoked from Java code: com.objectdb
6

JPA Named Queries

strings from the Java code. It also enforces the use of query parameters rather than embedding literals ... ="SELECT c FROM Country c") The @NamedQuery annotation contains four elements ... ", query="SELECT c FROM Country c") public class Country { ... } Attaching multiple named
6

JPA Lifecycle Events

flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate ... the EntityManager. @PostRemove - after deleting an entity from the database (during commit or flush). An entity ... an entity class and all its descendant classes from using the default listeners: @Entity
1

Step 3: Add a Main Class

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... the database: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p ... : Query q2 = em.createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X
0

javax.jdo.PersistenceManagerFactory

instances obtained from the same PersistenceManagerFactory will have the same default properties ... . Once the first PersistenceManager is obtained from the PersistenceManagerFactory, the factory can no longer ... to see that all PersistenceManager instances obtained from this PersistenceManagerFactory have no active

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