Category Archives: JDO

JDO 3.2 JDOQLTypedQuery : improvements relative to DN extension

Now that JDO 3.2 standardises the “typed query” mechanism that we prototyped in DataNucleus v3.x and v4.0/v4.1 it is worth mentioning the additions to the API that are present in the JDO 3.2 variant. StringExpression This has gained the following … Continue reading

Posted in JDO, JDOQL, LINQ, Uncategorized | Leave a comment

JDO 3.2 JDOQLTypedQuery

JDO 3.2 is now standardising what we initially developed as a DataNucleus extension for JDO querying, namely typesafe queries. In DataNucleus upto and including v4.1 it was referred to as JDOQL Typesafe Query, and in JDO 3.2 (DataNucleus v4.2+) it … Continue reading

Posted in Criteria, DataNucleus, JDO, JDOQL, JPA, JPQL, Typesafe | Leave a comment

JDO : querying between classes without relation

Let’s say we have the following classes and are using RDBMS for persistence public class Country { long id; String name; } public class Region { long id; String name; Long countryId; } public class District { long id; String … Continue reading

Posted in JDO, JDOQL | 6 Comments

Want to assist in the development of JDO 4.0?

We have, since 2006, been reliant on the Apache JDO project to push forward the JDO standard. Politics have finally become too much for this arrangement, with Oracle involving lawyers to prohibit progress, and the Apache organisation not being as … Continue reading

Posted in JDO, JDOQL | 7 Comments

Bytecode Enhancement contract in DataNucleus AccessPlatform v4.0

Now in GitHub master, for DataNucleus AccessPlatform v4.0, we have changed the bytecode enhancement contract. Since the days of JPOX we’ve always used the JDO bytecode enhancement contract as defined in the JDO spec. This has always been adequate to … Continue reading

Posted in Bytecode, JDO, JPA | 6 Comments

Configuring persistence of fields/properties using TypeConverters with JDO

JPA 2.1 allows a user to specify a converter on the value of a field/property for how it is persisted in the datastore. The way we implement that in DataNucleus is to have the JPA converter as a wrapper to … Continue reading

Posted in DataNucleus, java, JDO, Persistence | Leave a comment

Persistence to Neo4j graph datastores

Whilst DataNucleus JDO/JPA already supported persistence and querying of objects to/from RDBMS (all variants), ODBMS (NeoDatis), Documents (XML, Excel, ODF), Web (JSON), Document-based (MongoDB), Map-based (HBase, AppEngine, Cassandra), as well as others like LDAP and VMForce, it was clear that … Continue reading

Posted in JDO, JDOQL, JPA, JPQL, Neo4j, Persistence | 7 Comments