About relation

faq

Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM combination is easier and leads to better performance. ORM tools, however, are very useful where the use of a relational database is mandatory (e.g. as a result of a customer reques ...

 
faq

Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data O ...

 
manual

Comparison in JPQL and Criteria API

Explains how comparison operators can be used in JPQL queries, including in comparing null values. Most JPQL queries use at least one comparison operator in their WHERE clause. This page covers the following topics: Comparison Operators Comparing NULL values IS [NOT] NULL Comp ...

 
forum_thread

how to query by properties of onetomany relations? (Error 990)

the following code fails em.createQuery("select f from Foo f where f.bars.name = ?1", Foo.class).setParameter(1, barName) stacktrace: ... in my test database i have one Foo entity with one Bar relation   thanks in advanced ...

 
forum_thread

@Transient

Hello, I have a persistent class which looks something like this: @Entity public class Test { private String string; private Date date; @Transient private boolean test; // getters/setters } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong but I expect #1 2010-11-22 12:16 Hello, I have a persistent class which looks something like this: @ Entity public ...

 
tutorial

Step 6: Design a BIRT Report Table

Explains how to design a BIRT report table using ObjectDB and JPA. In this final step we will add a simple table to the report: Open the [Insert Table] dialog box by dragging a Table from the [Palette] window and dropping it on the report design (.rptdesign) layout. Set the column n ...

 
api-jdo

javax.jdo.annotations.Column

Annotation for a column in the database.(Annotation of JDO)

 
api-jdo

javax.jdo.annotations.Persistent

Annotation for defining the persistence of a member.(Annotation of JDO)

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this ...

 
forum_thread

JPQL JOIN FETCH Error

Hello I get an error when executing the following JPQL query: #1 2012-02-29 10:57 Hello I get an error when executing the following JPQL query: SELECT doi FROM Doi doi LE ...