About main

21-30 of 200Refresh
Manual
7

ObjectDB Developer's Guide [2018-08-07]

Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure This manual is divided into
Manual
7

Database Replication and Clustering

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

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
Manual
7

JPA Criteria API Queries

c = q.from(Country.class); q.select(c); The CriteriaBuilder interface serves as the main
Tutorial
7

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking WEB-INF under src/main/webapp (in the [Package Explorer] window), selecting New > Other... > Web > JSP File and clicking Next. The parent folder should be WEB-INF
Manual
7

Database Connection using JPA

database connection, using a separate EntityManager instance, for every HTTP request. The main role
Tutorial
7

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
Manual
7

Database Transaction Replayer

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

Literals in JPQL and Criteria Queries

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

JPA Query Structure (JPQL / Criteria)

The syntax of the Java Persistence Query Language (JPQL) is very similar to the syntax of SQL. Having a 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