About field

issue

NPE at com.objectdb.jpa.JpaQuery.getResultList

This is very similar to issue #51  raised by kaosko .   So perhaps I should have added it there.  Anyway, here it is....   Bug Version: 2.2.7 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
doc

java.lang.RuntimeException

(Exception of java.langException RuntimeException)

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: ... You can improve query performance by retrieving field values rather than entity objects (when applicable) because of the ...

 
forum_thread

Cannot sort descending, when ordering by caluculated float in a method

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem. public class InvoiceItem{ ..     private float price;     private float amount; .. }   public class Invoice{ #1 2011-06-23 19:43 Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem. public ...

 
forum_thread

JPQL JOIN FETCH Error

Hello I get an error when executing the following JPQL query: ... "Metadata" does exist in the database, as well as the field "titles" and its type "MetadataString" (see attachments). But ...

 
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. #1 2012-05-15 15:36 Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in mem ...

 
manual

[ODB1] Chapter 1 - About ObjectDB

Describes the main features and editions of ObjectDB 1.0 for Java/JDO. ObjectDB for Java/JDO is a powerful Object Database Management System (ODBMS) written entirely in Java. It can efficiently handle a wide range of database sizes, from a few KBs to hundreds of GBs. It has a small footprint, high performance, and a flexi ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... and read using the new Enhancer in one piece instead of as field by field - which is more appropriate in relational databases). ...

 
forum_thread

Cast exception?

Somehow I am unable to persist an entity class I wrote with manual @Id. I have a small Player class and I wish to store it with user ID as the primary key. So I declared the (only) primary key field as: @Id public int uid; This is how I'm persisting the instance: #1 2014-06-02 19:13 I'm getting a weird exception: java.lang.ClassCastException: database.entity.Player cannot be cast to d ...

 
forum_thread

Eclipse/JPA database tutorial

Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , I'm getting an error saying, the resource not available. Please help regarding the issue as soon as possible. Thank you. ... done everything as per tutorial except that i have added a field message in my Guest entity. Please also note that I am using jdk1.8 and ...