About result

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

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-jpa

getResultType()

Return the result type of the query or subquery.(Method of javax.persistence.criteria.AbstractQuery)

 
api-jdo

setRange(fromInclToExcl)

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

 
api-jpa

groupBy(grouping)

Specify the expressions that are used to form groups over the query results.(Method of javax.persistence.criteria.CriteriaQuery)

 
api-jdo

setRange(fromIncl, toExcl)

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

 
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 ; }   ...

 
api-jdo

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

Add a subquery to this query.(Method of javax.jdo.Query)