About results

release

2.6.3

... Fixed a bug of returning managed hollow objects in query results. Fixed an error message for invalid DELETE query ( issue ... in using JPQL operations (e.g. UPPER ) in DISTINCT results. Fixed an exception in handling user defined serializable ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; #1 2011-09-23 10:36 I have two classes a Container type class and another class that is 'contained' by that class. The co ...

 
forum_thread

Explorer query functionality

Is there a way in the Explorer to associate JPQL queries with query result windows?  I would really like to be able to open multiple query / result tabbed panes and be able to save out my queries, similar to what you can do in Benthic Golden or Toad in the SQL world. Alternatively are you aware of any other JPA + JPQL workbench tools, commercial or otherwise that would support this? #1 2015-05-20 15:41 Is there a way in the Explorer to associate JPQL queries with query result windows?  I would really ...

 
forum_thread

Using the wrong class to access a database

Hello, just starting to test ObjectDB and ran into a problem. I've created a small program to test the Point database described in the Getting Started section: ... p" , Point. class ) ; List<Point> results = query. getResultList ( ) ; System. out . println ( "number of entries: " + results. size ( ) ) ; }   static ...

 
api-jpa

distinct(distinct)

Specify whether duplicate query results will be eliminated.(Method of javax.persistence.criteria.AbstractQuery)

 
forum_thread

How to do multithreading with embedded ObjectDB

Hi, I've tried to implement a counter with ObjectDB, but the following code doesn't work as expected: ... , Point. class ) ; List<Point> results = myquery. getResultList ( ) ; System. out . println ( "X coordinate is: " + results. get ( 0 ) . getX ( ) ) ; ...

 
api-jpa

javax.persistence.EntityResult

Used to map the SELECT clause of a SQL query to an entity result.(Annotation of JPA)

 
api-jpa

multiselect(selectionList)

Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)

 
forum_thread

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s of user interfaces (noting we get different results OUTSIDE THE JAVA SERVER FACES BACKING BEAN LAYER depending on the enhancement stragegy). Can you please explain how this could possibly be so ? ... We are getting massively different results on field loading between explicit post-compile enhancement and ... run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and ...

 
forum_thread

Problem with distinct select, order by and equivalent alias/attribute path

Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: ... framework we run into an exception when ordering the results of some projection when the order by expression is different (though ... order expression 's_location' for distinct results (error 745) (position 85) at ... Invalid order expression 's_location' for distinct results at com.objectdb.o.MSG.d(MSG.java:62) at ...