About number

forum_thread

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. ... and big with many @OneToMany relations, there was huge number of additional queries on database to fetch all those objects. ... This could work, as I don't need pages with even number of objects. The main goal here is to iterate over all records from ...

 
issue

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

objectdb-2.2.5_08 NetbeansID6.9.1+Glassfish3.01 I suspect the following is an Explorer bug. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. ... com.greensoft.entity.value.FloatQuantity [null](TEST: number quantity) INFO: RequestBean []: Persisted: com.greensoft.entity.value.FloatQuantity [44](TEST: number quantity) INFO: RequestBean []: Created: ...

 
release

2.4.4

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...

 
release

2.6.9

... Fixed server crash on exceeding maximum number of connections specified in configuration. Fixed ... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ...

 
manual

Running JPA Queries

Explains how to use JPA to run Java Persistence Query Language (JPQL) queries.... result object, which is a Long object reflecting the number of Country objects in the database: TypedQuery ... On success - the executeUpdate method returns the number of objects that have been updated or deleted by the query. The ...

 
release

2.6.8

... Fixed server crash on exceeding maximum number of connections specified in configuration. Fixed ... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ...

 
release

2.4.2

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...

 
release

2.4.3

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... , Integer , Long , Float , Double , Number and String . Selected classes in package java.util : ... in the database. For example, a field whose type is Number (which is an abstract class) must have a reference to an object whose ...

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... By default the primary key is a sequential 64 bit number ( long ) that is set automatically by ObjectDB for every new entity ... continuously and can be collected by accessing a minimum number of database pages. On the other end, such a primary key requires ...