ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh

Database Transaction Replayer

. The tool's main class is com.objectdb.Replayer and the required argument is the path to the database

Database Replication and Clustering

master-slave replication, the master node manages the main (master) database, which supports Read

JPA Query Structure (JPQL / Criteria)

The syntax of the Java Persistence Query Language (JPQL) is very similar to the syntax of SQL. Having an SQL-like syntax in JPA queries is an important advantage because SQL is a very powerful query language and many developers are already familiar with it. The main difference between SQL and JPQL

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases) is that in JPA data is represented by classes and objects rather than by tables and records as in JDBC

Literals in JPQL and Criteria Queries

Literals The main method, literal, takes a Java object and returns a literal expression. For example

Step 2: Define a JPA Entity Class

) - the Point class is an ordinary Java class. The next step is adding to the project a Main class

Step 2: Define a JPA Entity Class

. But nevertheless, this class is a valid ObjectDB entity class, despite the warning. The next step is adding a Main

JPA Web App Tutorial - NetBeans Project

Run > Run Main Project... (or F6). Choose or define the server and click OK. If a browser is not opened - open it at http://localhost:8080/Guestbook/.

Step 1: Create a Maven Web Project

that was created in the project main folder: Note: You should verify now that Maven Integration for WTP

Step 6: Set the Spring XML

and click Next. Enter spring-servlet as the File Name. The Folder should be src\main\webapp\WEB-INF

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