About getting started

tutorial

Getting Started with JPA and Eclipse

Getting started tutorial for quick start with using Java Persistence API (JPA) in Eclipse. This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each ...

 
tutorial

Getting Started with JPA and NetBeans

Getting started tutorial for quick start with using Java Persistence API (JPA) in NetBeans. This is the NetBeans version of the  Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  ...

 
tutorial

Getting Started with JPA - Eclipse Project

Opening a JPA Maven console project in the Eclipse IDE.... Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project ...

 
tutorial

Getting Started with JPA - IntelliJ Project

Opening a JPA Maven console project in the IntelliJ IDEA IDE.... IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ ...

 
tutorial

Getting Started with JPA - NetBeans Project

Opening a JPA Maven console project in the NetBeans IDE.... Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... your attached screenshot shows that the server has been started successfully. If you want to start it in the background, try: ...

 
forum_thread

Query problem after transaction commit

I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records. However, after transaction.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old records but only the latest stored record. I tried to run database explorer on the server machine and able to see all the records including the new stored record.... result 41> UI: start query [database explorer started on server before the execution of this query.] 42> SELECT u ... is "%" and the previous parameter (in previous query run) started with a letter (e.g. "A"). Please try build 2.6.9_08 that should ...

 
forum_thread

Activation key causes database to not start

We had ObjectDB version 2.5.7_06, then we bought a server license, then we activated it today. We get an error when trying to start ObjectDB after adding activation in objectdb.conf. We initially thought it's because it was an old version, so we upgraded to 2.6.5_04, but without success. We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log we get when trying to start ObjectDB with the license. What is to be done? Thank you. :) ... ok. Thank you. It seems to work with the new key. ObjectDB started properly. Is there any way we could check if the activation is ...

 
forum_thread

JPQL query to get entities that does not have a child entity in their child entities

I have 2 tables as shown below. Job Table ID JobId Name StartTime    FinishTime    .... 01 001   A  2105:12:10 14:00:00  2105:12:10 14:00:10 02    002  A  2105:12:10 14:00:00  2105:12:10 14:00:00 03    003  A  2105:12:10 14:00:00  2105:12:10 14:00:00 04    004  A  2105:12:10 14:00:00  2105:12:10 14:00:00 And ... Status Timestamp JobId 01 Started 2105 : 12 : 10 14 : 00 : 00 ... 'Finished' " ), With these queries I am getting wrong result for ACTIVE Jobs. A job even with failed or finished state ...

 
manual

SELECT clause (JPQL / Criteria API)

Explains how to use the SELECT clause and projections in a JPA/JPQL query. The ability to retrieve managed entity objects is a major advantage of JPQL. For example, the following query returns Country objects that become managed by the EntityManager javax.persistence.EntityManager JPA interface Inte ...