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

JPA Criteria API Queries

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

Database Replication and Clustering

the configuration: <server>     <connection port="6001" max="100" />     <data path="$objectdb/db

JPA Query Expressions (JPQL / Criteria)

expressions are provided as follows: Literals and Dates (literal, nullLiteral, currentDate, ...). Paths


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. Click the Finish button to create the project (Frameworks are not required). To add

Step 7: Run the Spring Web App

At this stage your project should have the following structure: Use copy and paste to replace the content of the index.jsp file (which serves as the default front page) with the following redirection to the controller path: <jsp:forward page="guest.html" /> If Tomcat 6.0 is installed as

Step 1: Create a Java EE 6 Web Project

... button and the Download additional server adapters link. Follow the instructions and specify the path

[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