About availability

manual

JPA Query API

Describes the API that JPA provides for running queries against the database. Queries are represented in JPA 2 by two interfaces - the old Query javax.persistence.Query JPA interface Interface used to control query execution. See JavaDoc Reference Page... interface, which was the only interfac ...

 
forum_thread

Temporary disabling of indexes?

When populating a large database with objects that have indexed fields takes very much longer than populating the database with those objects if the index definitions are removed.  Is it possible to indicate in some way that for a particular use of the database indexes are to be ignored, and can be rebuilt later? #1 2016-06-29 18:30 When populating a large database with objects that have indexed fields takes very much longer than populating the ...

 
tutorial

JPA Web App Tutorial - Maven Project

The JPA Web Application tutorial for Tomcat / Jetty as a Maven project (download & run). The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in  Eclipse or  NetBeans . Building a new application step by s ...

 
forum_thread

No clue how to query with collection

Hi there! Actually, what I have is something like: @Embedable class Address { String getStreet(); int getStreetNo(); } @Entity class Contact { Collection<Address> getAddresses(); }   #1 2011-12-02 15:55 Hi there! Actually, what I have is something like: @ Embedable class Address { ...

 
tutorial

Step 3: Create an ObjectDB Data Source

Explains how to create an ObjectDB data source for BIRT reports. Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [Data Explorer] window and selecti ...

 
manual

Collections in JPQL and Criteria Queries

Shows how collections and maps can be used in JPQL queries. Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as  path expressions - in navigation to persistent collection fields. This page covers the ...

 
api-jpa

getDelegate()

Return the underlying provider object for the EntityManager, if available.(Method of javax.persistence.EntityManager)

 
forum_thread

ObjectDB Explorer don't show ManyToOne relations

Hello support. we have a problem with the ObjectDB Explorer and @ManyToOne relations. We persist the entity FolderImpl that has an attribute of type ModelElement. If we use an interface for the attribute then the ObjectDB Explorer shows NULL for the attribute although our unit test checks that the attribute is not NULL in the database. @Entity public class ModelElementImpl implements ModelElement { ... } @Entity public class FolderImpl { #1 2015-03-24 07:54 Hello support. we have a problem with the ObjectDB Explorer and @ManyToOne relations. We persist ...

 
forum_thread

How to convert a boolean to an int in the query?

How to convert a boolean to an int in the query? I have five parameters of type boolean in the entity object - approveEmail, approvePhoneNumper, ... I can not sort them ORDER BY approveEmail, approvePhoneNumper, .... because the parameters equivalent. I want to sort them in the query by their sum ORDER BY (approveEmail + approvePhoneNumper + ... ) But I get an exception com.objectdb.o._PersistenceException: Invalid operand type boolean for operator + #1 2013-08-27 12:52 How to convert a boolean to an int in the query? I have five parameters of type boolean in the entity object ...

 
api-jpa

getIdentifier(entity)

Return the id of the entity.(Method of javax.persistence.PersistenceUnitUtil)