Fast Object Database for Java - with JPA/JDO support

Internal Website Search

51-60 of 200 resultsRefresh

Privacy Policy

sets out the different areas where user privacy is concerned and outlines the obligations ... and protects user data and information will also be detailed within this policy. The Website ... settings to block all cookies from this website and its external serving vendors. This website uses


.0 void deletePersistent(Object pc) Delete the persistent instance from the data store. Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object will be removed at commit. Unlike makePersistent, which makes the closure

Locking in JPA

update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking ... - which represents an exclusive lock. Setting a Pessimistic Lock An entity object can be locked ... can be set to allow waiting for a pessimistic lock for a specified number of milliseconds. The hint

[ODB1] Chapter 5 - JDO Connections

of the database requires an active transaction. The focus of this chapter is on setting up a runtime ... that are set in the code above are usually essential: javax.jdo.PersistenceManagerFactoryClass ... .setConnectionURL("objectdb://localhost/data.odb"); pmf.setConnectionUserName("john"); pmf

Comparison in JPQL and Criteria API

ObjectDB supports two sets of comparison operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO Less Than < < Greater Than > > Less Than or Equal To <= <= Greater Than or Equal To >= >= Equal = == Not Equal <> != The two sets differ in the Equal and the Not Equal operators

[ODB1] Chapter 3 - Persistent Classes

Classes Only classes that represent data in the database should be declared persistent ... , LinkedList, Vector, HashMap, TreeMap and Hashtable, and the interfaces - Collection, Set, List and Map ... collection interfaces (Collection, Set, List and Map) cannot refer to an unsupported collection, or

Database Replication and Clustering

database. Setting a Master Database A master ObjectDB database is an ordinary database ... , but no other preparations or settings are required. Setting Slave Databases Setting slave databases is very easy ... the configuration:          <data path="$objectdb/db

Database Doctor

fresh database file and then copying all the recoverable data in the corrupted database file to the new

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as the primary

SELECT clause (JPQL / Criteria API)

The criteria query API provides several ways for setting the SELECT clause. Single Selection Setting ... .get("currency")).distinct(true); The select method takes one argument of type Selection and sets it as the SELECT clause content (overriding previously set SELECT content if any). Every valid criteria

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