About availability

manual

Database Replication and Clustering

Replication enables maintaining up to date version of an ObjectDB database on multiple nodes.... geographic locations. This could help in achieving high availability, fault tolerance and prompt disaster recovery. In ...

 
forum_thread

On ensuring ID available after persist

This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functioning, large JavaEE/JPA web application, which until now had used EclipseLink+MySQL and then Oracle+MySQL. On trying it out on ObjectDB I hit a problem with my very extensive entity wiring code, which relies on an "external" entity object having a non-null id after it has been passed to EntityManager.persist, thus: #1 2011-05-31 00:39 This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functio ...

 
forum_thread

Last build is not available on Maven Repository

Is there some special reason why the last two builds of 2.3.3 are not available in your Maven repository? #1 2011-11-16 22:36 Is there some special reason why the last two builds of 2.3.3 are not available in your Maven repository? ...

 
issue

new objects not available in mappedBy associations

Given a mappedBy association: e.g: @OneToMany(mappedBy="department") public List <Employee> employees;   creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object, even if it is persisted, and even if the transaction is committed??   Bug Version: 2.0.1 Priority: Normal Status: Closed Replies: 6 Type:  Bug ...

 
forum_thread

Accessing objects to make them available after EntityManager close?!

Hi, I would like to get all the instances of an entity object. So I wrote a function which returns a list of these instances. My problem is if I print out these instances before closing the em and returning the list, it works as I expected; if not, the function returns only one field correctly, another field is always Null. The details is as follows: #1 2015-02-06 10:57 Hi, I would like to get all the instances of an entity object. So I wrote a function which returns a list ...

 
forum_thread

High availability and other pratical questions

Hi,   I've just started developing a mobile app which will use a server side, hopefully handling a lot of processing and traffic. I was inteding to use TomEE+ with built-in OpenJPA and Postgres DB, initially on one master server but as it grows more master servers will be set (in different geo locations/data centers) using some data sync mechanism between them.   Now that i've met ObjectDB I want to check the option using it instead of postgres so I have few questions regarding it: ... and answers, any estimation when the embedded DB high availability with replication feature will be officially released (and ...

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: #1 2011-12-02 09:58 I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book ...

 
page

JPA Tutorials

Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications). The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use Objec ...

 
manual

WHERE clause (JPQL / Criteria API)

Explains how to use the WHERE clause in a JPQL query. The WHERE clause adds filtering capabilities to the FROM-SELECT structure. It is essential in any JPQL query that retrieves selective objects from the database. Out of the four optional clauses of JPQL queries, the WHERE clause is definitely the most ...

 
tutorial

Java EE 6 JPA Tutorial - Maven Project

The Java EE 6 JPA Web Application tutorial for GlassFish as a Maven project (download & run). The  Java EE 6 Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an ...