About value

forum_thread

JPQL keyword in entity - what to do?

Hi, I have a problem with entity that is using one of JPQL keywords as one of the fields. It's a 'type' field. When I try to build a query that looks for example like this: select new ResultData(p.type.name, count(p.id)) from Product as p group by p.type.name I got this exception: ... result of type 'pl.hplxtool.model.ResultData': cannot set value 'p.type.name' at com.objectdb.o.MSG.d(MSG.java:61) ~[objectdb.jar:na] at ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... <property name = "objectdbjar" value = "/usr/local/objectdb/objectdb/bin/objectdb.jar" /> ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... Attempt to reuse an existing primary key value (com.marlexgames.sm.db.Level:1) at ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... page cache?  I understand that the ObjectDb.conf value I specify (<processing cache="1mb" max-threads="10" />) is a HINT ... I desire.  (1 MB divided by 5 for processing cache value). I am concerned that the PAGs will grow beyond my control when ...

 
forum_thread

ObjectDB within a resource adapter module and Java EE Connector Architecture

Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Architecture so that it may be packaged separately from (but used by components of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? ... with a parameter (similar to $objectdb in the url) with a value from a system property. Check what can work for you and if you define a ...

 
forum_thread

Problem with @Basic(fetch = FetchType.LAZY)

I have a class where two fields are annotated with @Basic(fetch = FetchType.LAZY) due to them containing quite long Strings and me loading ALL entities of the database on application startup (swing app) This class should hopefully demonstrate the problem: #1 2012-02-01 14:38 I have a class where two fields are annotated with  @Basic(fetch = FetchType.LAZY) due to them containing ...

 
forum_thread

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces take list of objects and persist them and the interface service is marked as @Transactional. We iterate through the list apply business validations and persist them one by one in a loop. ( Using Spring Data) We have noticed that in a loop 1st object is persisted and then we if lookup the same object we don't get it back on lookup. ... something like <property name="org.hibernate.FlushMode" value="auto" /> That's what I am looking for - Kindly advise ! ...

 
forum_thread

Exception when dataset bigger than treshold

I was working on reporting service for my application and found a problem with datasets bigger than treshold set in objectdb.conf.   #1 2011-06-20 10:29 I was working on reporting service for my application and found a problem with datasets bigger than treshold set ...

 
forum_thread

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ... 20% 30% 40% 50% 60% 70% 80% 90% 100% Global Value Errors ------------------- [1] Unexpected total page count: 33024 ...

 
issue

Internal exception when quering

Hello, following exception occurs when quering objectdb: Bug Version: 2.5.1 Priority: High Status: Active Replies: 2 Type:  Bug ...