About query

forum_thread

Reporting Engine?

New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there something better matched? I am ideally looking for something template based with external template designer to customize the template.    #1 2011-06-09 12:30 New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there ...

 
forum_thread

Spring and packagesToScan

Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting Type XXX is not found   ... ; mydb.odb is created but when i try to query "select p from Person p" throw  com.objectdb.o.TEX: Type ...

 
issue

Collation and String Order

ObjectDB should support selecting collation when a new database is created. The collation should affect the way strings are sorted in queries (with ORDER BY). Currently strings are always ordered by Unicode order, and a workaround that enables controlling the order is to use normalizing, as discussed in this forum thread and in this forum thread. Feature Request Version: 2.3.0 Priority: Normal Status: Active Replies: 1 Type:  Feature Request ...

 
forum_thread

Improvement in replication

Hi, I was thinking about some improvement in replication mechanism. Our application do only few writes (mostly reads), but those writes are important for us - objects rating, profile modifications. So in current implementation when master node dies, there is only a chance to read data from slave and all writes fails. #1 2012-01-03 11:27 Hi, I was thinking about some improvement in replication mechanism. Our application do only few writes (m ...

 
api-jdo

Query.SQL

The string constant used as the first argument to PersistenceManager.newQuery(String,Object) to identify that the created query should use SQL semantics.(Static Field of javax.jdo.Query)

 
api-jdo

javax.jdo.Extent

Instances of the Extent class represent the entire collection of instances in the data store of the candidate class or interface possibly including its subclasses or subinterfaces.(Interface of JDO)

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: ... I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public ...

 
api-jpa

getCompoundSelectionItems()

Return the selection items composing a compound selection.(Method of javax.persistence.criteria.Selection)

 
api-jpa

javax.persistence.criteria.CompoundSelection

The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor).(Interface of JPA)

 
forum_thread

remove() and persist() in same transaction => Attempt to reuse an existing primary key value

Hello Support, in our configuration (FlushModeType.AUTO) is the execution of  em.find(Entity.class, <id>) much faster than an equivalent query. To optimize the Performance we define a special Entity (A) with additional data that use an existing ID of another Entity (B) from another class (another table). On this point we get no conflicts. If we remove additional data for Entity (B) and then the special Entity (A) is empty, we remove the special Entity (A). ... <id>) much faster than an equivalent query. To optimize the Performance we define a special Entity (A) with ...