About result

release

2.0.2

Release date: 2010-11-13 Download (3.39 MB) Binary:  objectdb-2.0.2.zip ObjectDB 2 is already in use in production in several applications and is ...

 
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: ... If the type of your fields is long (or Long ) the result should be Long instances as reported. ...

 
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. ... is there a syntax I can use for my query to get the result I'm looking for?   Thanks, Ben ...

 
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 #1 2011-07-15 05:33 I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving obj ...

 
release

2.0.4

Release date: 2011-01-11 Download (3.4 MB) Binary:  objectdb-2.0.4.zip You should start by following a  tutorial or reading the manual ...

 
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 more Java Result: 1 When I comment out the fields that are strings all works out ...

 
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. #1 2011-07-07 00:59 Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form ...

 
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. #1 2017-08-10 13:35 Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem w ...

 
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. #1 2012-02-21 03:00 Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the a ...