About results

release

2.0.2

... method finding problems. Fixed a bug in the results of IS [NOT] NULL queries. Fixed a bug in ObjectDB ...

 
forum_thread

Problem of query With an aggregate function

Hi I would know if this type of query is supported By JPA: select sum(nb1), sum(nb2), sum(nb3) from table If yes I have this methode that return a list of Long: #1 2014-08-22 11:45 Hi I would know if this type of query is supported By JPA: SELECT sum ( nb1 ) , ...

 
forum_thread

How do I achieve a Deep Fetch using JOIN FETCH?

I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a collection of Embeddable objects: @Embeddable class A { String val; }; @Embeddable class B { List<A> aList; }; @Entity class C { @Id long id; List<B> bList; };   Usually I'm content to have the B's and A's be lazily loaded, but I have a circumstance where I need to be able to work with the whole C object, with all its parts, as a detached object. #1 2013-03-27 03:07 I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a co ...

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount ... an EclipseRCP project that records athletic/swimming, etc results. The core of the projects works as expected. The problem is in a plugin ...

 
release

2.0.4

... method finding problems. Fixed a bug in the results of IS [NOT] NULL queries. Fixed a bug in ObjectDB ...

 
forum_thread

Possible issue with String fields

Hi I'm brand new to objectdb and I'm trying to create an objectdb from a sample db via jdbc. The code all works and for a few thousand records but when I increase the number of records I get the following " #1 2012-04-18 07:00 Hi I'm brand new to objectdb and I'm trying to create an objectdb from a sample db via jdbc. ...

 
forum_thread

Searching lists within objects

Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. ... ( q ) ; List<CDI> results = typedQuery. getResultList ( ) ; ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... Each call to a "show" function (ex: showPaygradeMenu() ) results in a transfer of control to a Controller class e.g. ... ) ) ; } and got these results... oldRate: 100.65 newRate: 8.65 9.1 9.6 10.6 ...

 
api-jdo

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence.EntityManagerFactory cast to a PersistenceManagerFactory.(Static Method of javax.jdo.JDOHelper)

 
forum_thread

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> <extensions ...