ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

500Mb ObjectDb database opening issue

static void main(String[] args) { String path = "temp.odb"; for (int i = 0 ... (); EntityManagerFactory emf = Persistence.createEntityManagerFactory(path ... = System.currentTimeMillis() - ms; System.out.println("Open " + path + " time: " + ms); em

Replication issue, Replayer failing due to NullPointerException.

path and where all the DB's are on the master. I cannot get an EntityManager connection to the slave DB ... > <general> <temp path="$temp/ObjectDB" threshold="64mb" /> <network inactivity-timeout="0" /> <url-history size="50" user="true" password="true" /> <log path="/var/log/test/" max="10mb

JPA Criteria API Queries

, currentDate, ...). Paths, navigation and types (get, type). Arithmetic expressions (sum, diff, prod

ORDER BY clause (JPQL / Criteria API)

are more restrictive. Path expressions are supported by all the JPA implementations but support for other JPQL


Method javax.persistence.criteria.MapJoin Path<V> value() Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this. Returns: path corresponding to the map value Since: JPA 2.0


Method javax.persistence.criteria.MapJoin Path<K> key() Create a path expression that corresponds to the map key. Returns: path corresponding to map key Since: JPA 2.0

Step 1: Create a Web Project

the path to Tomcat 6 (which has to be downloaded separately) . Click the Finish button to create

Step 1: Create a Java Project

the objectdb.jar file, using: Right Clicking on the Project > Properties > Java Build Path > Libraries > Add

Step 1: Create a Web Project

the path to Tomcat. Click the Finish button to create the project (Frameworks are not required). To add

[ODB1] Chapter 2 - A Quick Tour

(lines 12-13). If a database file does not exist in that path, a new database file is created

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