About in

forum_thread

Object DB In memory : without Filestore

Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I think that will give the best performance. The reason we are exploring is restoring state is possible for us through replaying the logs, however we want easier data structures which is really good with ObjectDB along with Concurrency controls and transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. ... we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the ... us know if it is possible to run the Object DB completely in memory without disk storage. thanks, Sandeep ...

 
issue

new objects not available in mappedBy associations

Given a mappedBy association: e.g: @OneToMany(mappedBy="department") public List <Employee> employees;   creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object, even if it is persisted, and even if the transaction is committed??  ... a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) ...

 
forum_thread

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? <quot ... the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? Due in part to some of the failures of the EJB persistence model, and some ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ObjectDB Server started on port 7136. Exception in thread "ODB-StoreHandler-29" java.lang.OutOfMemoryError: GC overhead limit ...

 
page

What is new in ObjectDB 2.0?

... from ... where ..."). Real non blocking multithreading in query execution. Support of composite indexes and using indexes in query result sort. Improved query optimization engine. Detach / ...

 
forum_thread

IN operator syntax

Hi, what is the correct syntax for IN operator when list of literals ia used instead of parameter, e.g. SELECT FROM Info i WHERE i.status IN (1,4) ? (Suppose status is int.) I always get this exception: SELECT FROM Info i WHERE i.status IN (1 ==> , <== 4) javax.persistence.PersistenceException Unexpected query token ',' (closing ')' is missing) (error 752)   Query with only one item in list works fine: ... Hi, what is the correct syntax for IN operator when list of literals ia used instead of parameter, e.g. SELECT FROM Info i WHERE i . STATUS IN ( 1 , 4 ) ? (Suppose status is int.) ...

 
manual

Logical Operators in JPQL and Criteria API

Explains how to use AND, OR and NOT in JPQL queries. Logical operators in JPQL and in JPA criteria queries enable composition of complex JPQL boolean expressions ... ObjectDB supports 2 sets of logical operators, as shown in the following table: Set 1 - JPQL / SQL ...

 
forum_thread

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property) The following is a detailed report on investigation of multiple issues that have been mentioned in the following forum postings and issue reports (but please do not visit them from here now, the diagnostics there are now obsolete): - Issue #282 - ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection ... investigation of multiple issues that have been mentioned in the following forum postings and issue reports (but please do not visit them ... with why one would bother to wrap something like a Boolean in this fashion, it is however a very powerful and crucial technique (and it is ...

 
forum_thread

Level 2 cache not hit in @ManyToOne

Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in my app). "user" should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge performance hit. ... and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the ...

 
forum_thread

Setting temp directory location in ObjectDB

HI, I am using ObjectDB and would to change the temp directory location wihtout using objectDB.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties.setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper.class.getClassLoader()); ... JDOHelper.class.getClassLoader()); I read in the ObjectDB website that we can change the temp directory using the ... hits it creates a .$fileName.obd$ file in the same directory where fileName.odb is located. But i want to set the ... folder location so that $fileName.obd$ will be created in some different folder. Please let me know the solution. Thanks ...