About results

forum_thread

significant performance decrease

we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entities of one class (database file size around 1.5 GByte). The response time of standard queries increased with this database size to an unacceptable rate (several seconds compared to around 30% when the number of entities was just half of the current). We tried to optimize the cache settings, current objectdb.conf is: <!-- ObjectDB Configuration --> <objectdb> ... = "false" /> <query-cache results = "1024mb" programs = "500" /> <extensions ... synchronized="false"/> <query-cache results="1024mb" programs="500" /> ... <cache ref="weak" ... The query result cache can be used (to return results without executing a query at all) if: There is match of ...

 
forum_thread

Error: Failed to write value of field X using reflection (oneToMany relation)

Hi there! I have been all day trying to solve this. I have read multiple sites and documentation, but I can go through this. I have a clase named Pedido, that have a reference ManyToOne to a clase Cliente. ... ( ) ; List<Cliente> results = null ; try { ... FROM Cliente c" , Cliente. class ) ; results = query. getResultList ( ) ; } ... ( ) ; } return results ; }   At the end of this method, ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ... with or without restarting my eclipse product results in the following stacktrace: [ObjectDB 2.2.8_01] ...

 
api-jpa

distinct(distinct)

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

 
api-jpa

javax.persistence.EntityResult

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

 
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

multiselect(selectionList)

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

 
api-jpa

multiselect(selectionList)

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

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