About empty

forum_thread

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 (Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached the samples as NetBeans projects, so that you could check easier. 1 for GF3 (6) and 1 for GF4 (7). Thanks! ... A new build, 2.5.3_02, adds empty implementation of the new JPA 2.1 methods. We haven't tested ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... the four methods, keeping the methods that are irrelevant empty. For example: package test ; import javax. jdo . *; ...

 
forum_thread

Should I be able to persist a JFrame (or gui components in general)?

    I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples). ... from ContactEditor ce" it returns empty strings, but there should have been text at the time this ran: ...

 
issue

Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb.com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in further version. Can you implement it that ObjectDB used temporary files? ... Do you invoke em.clear after flush to empty the persistence context? Do you use embedded mode or ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... copied 4) No recovery - the database is new & empty upon startup 5) No but I'll switch this on if you think it ...

 
issue

[ObjectDB 2.5.5_03] Unexpected exception (Error 990)

Hello! When I run this query SELECT t FROM Unit t WHERE t.lastGeocodedPosition IS NULL OR t.lastGeocodedPosition.receiveTime < :lastGeocodedPosition.receiveTime I get the following exception: ... i.e. an internal loop, and if the the internal loop is empty for a specific Unit , that Unit is ignored. So there is a difference ...

 
manual

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query.... CURRENT_TIMESTAMP,DELETE, DESC, DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE, FETCH,FROM, GROUP, HAVING, IN, INDEX, ...

 
issue

InternalException

I'm getting a new InternalException (see below). No repeatable example as yet but will work on that and let you know as soon as we have one. If there's anything in the exception which could help us narrow down the problem please let me know. ... method on start-up (otherwise we used to get errors on empty database queries). The app also runs for a period of time before the ...

 
manual

[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... connection url, ObjectDB tries to create a new, empty database at that location. This behavior is an ObjectDB extension. JDO ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... } ) Start with a new empty database, in order to make sure that the new index is used. With ...