About result

release

2.7.1

... in queries. Fixed a bug in ordering query result by an expression that is used in IN operator. Fixed a ... ( issue #249 ). Improved title of query result windows in the Explorer. Changed the Enhancer to return ...

 
forum_thread

Items in list are doubled, when the entity class is not enhanced

Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not enhanced, added items are doubled. Here is an example: ... }   </ item > The result is "Item count = 2". Is this another bug? Michael ... (in #1) demonstrates a very strange behavior, which is the result of the following: Invocation of merge on a managed ...

 
forum_thread

Entity name

2. Object creation I created a class named EBResult which looks like this: @Entity(name="RESULT") public class EBResult extends Pojo implements Serializable{..... In ObjectDB-explorer (which is part of ObjectDB library) I expected to see an object named "RESULT" due to class annotation @Entity(name="RESULT"). Instead I see following: ... like this: @ Entity ( name = "RESULT" ) public class EBResult extends Pojo implements ... of ObjectDB library) I expected to see an object named "RESULT" due to class annotation @Entity(name="RESULT"). Instead I see ...

 
forum_thread

Beginners questions

Hello !! I am new in JPA / ObjectDB development and I have many questions: 1. If I understood correctly, ObjectDB is an implementation of JPA standard (currently 2.0)? 1.1. Is ObjectDB on the same level like Hibernate with only difference that Hibernate stores the data in a RDBMS and ObjectDB has its own format?   ... like this: @ Entity ( name = "RESULT" ) public class EBResult extends Pojo implements ... of ObjectDB library) I expected to see an object named "RESULT" due to class annotation @Entity(name="RESULT"). Instead I see ...

 
tutorial

Step 4: Create an ObjectDB Data Set

Explains how to create an ObjectDB data set for BIRT reports. Queries against the database are represented in BIRT as data sets. To create the data set: Open the [New Data Set] dialog box by right clicking the Data Sets node in the [Data Explorer] window and selecting New Data Set ...

 
api-jdo

setRange(fromInclToExcl)

Set the range of results to return.(Method of javax.jdo.Query)

 
api-jdo

setRange(fromIncl, toExcl)

Set the range of results to return.(Method of javax.jdo.Query)

 
forum_thread

"where in" query

Is it possible to run a query selecting values that exist in a provided list? e.g. something like: SELECT u FROM User m WHERE u.username IN ('test_user','anotheruser') I've tried various combinations of this including passing the list as a named parameter but without any joy. The only similar examples I can find in the docs involve a join query - but my list isn't in the database - and the MEMBER OF operator doesn't seem to do what I want (although I may be using it incorrectly! ... Anyone know why this result returns an empty set?   List<Prez> results ; ... I tried to build a test case and the result was an exception rather than an empty result set. Version 2.3.2 ...

 
release

2.6.4

... ( issue #249 ). Improved title of query result windows in the Explorer. Changed the Enhancer to return ... non public persistable types. Fixed the result type of a sum query on a single value. Version 2.5.6 ...

 
forum_thread

Does aggregate function "greatest" work on entity objects?

do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable {     private static final long serialVersionUID = 1L; ... this.toString() + " compareTo " + t.toString() + " result = " + int result = ( ( int ) ( this . ... this.toString() + " compareTo " + t.toString() + " result = " + result); return result ; }   ...