DataNucleus AccessPlatform 2.0 Released

Discussions

News: DataNucleus AccessPlatform 2.0 Released

  1. DataNucleus AccessPlatform 2.0 Released (5 messages)

    DataNucleus AccessPlatform 2.0.0 has just been released. AccessPlatform provides access to a range of datastores for Java applications using JDO/JPA API's. It is fully compliant with JDO1, JDO2, JDO2.1, JDO2.2, JPA1, as well as providing complete JDO2.3 support, and the majority of JPA2. It currently supports persistence to RDBMS, db4o, NeoDatis, LDAP, XML, Excel, ODF, JSON, Amazon S3, HBase (HADOOP), as well as Google AppEngine BigTable. AccessPlatform additionally allows configuration of classes to be persisted using JDO annotations/XML/API or JPA annotations/XML providing access to both JDO and JPA persistence APIs regardless of which configuration method was chosen, offering flexibility not seen in any other persistence tool. Querying of the supported datastores can be performed using JDOQL, JPQL or SQL (dependent on the datastore). By making use of standardised APIs, the process of swapping persistence from one datastore to another is a simple URL change when specifying the datastore. AccessPlatform is made up of a series of OSGi compliant jars, and can be utilised in J2SE, J2EE, or OSGi container environments. By using OSGi together with Eclipse extension-points, DataNucleus is highly extensible so if you wanted to provide support for your own datastore then this would be a relatively simple procedure. DataNucleus Access Platform is licensed under the flexible Apache 2 license. DataNucleus Access Platform 2.0 provides the following over and above what DataNucleus 1.x provides :-
    • Significantly reworked internal API's to aid easier support for other datastores, and datastore features in the future
    • Support for persistence to Amazon S3
    • Support for persistence to HBase (HADOOP)
    • Support for persistence to Oracle Timesten
    • Support for persistence of JodaTime fields
    • Support for auto-generation of primary key classes during enhancement
    • Change default for non-transactional read/write to true for JDO
    • Support atomic non-transactional write persist/delete operations
    • Level 2 Cache is now enabled by default (soft)
    • Split query cache into 3 components : generic compilation, datastore compilation and query results. Added API for managing caching of query results (using JDO or JPA).
    • Cache : Support for pinning/unpinning of query results with Memcache/javax.cache
    • Support for JDO 2.3 Query cancel, and datastore read/write timeout
    • Support for explicit JPA extended persistence context
    • Support for JPA2 metamodel API
    • Support for bean validation with JPA2
    • Support for various new JPA2 JPQL keywords
    • Support for JPA2 1-N FK bidirectional relations
    • Support for JPA2 1-N collection/map of non-persistable objects.
    • Support for JPA2 TypedQuery
    • Support for update/delete-by-query for RDBMS (JPQL)
    • Rewritten RDBMS JPQL implementation building on generic query compiler. This is now the default JPQL implementation for RDBMS, and can be used with the query caching mechanism.
    • Rewritten RDBMS JDOQL implementation building on generic query compiler. This is not currently the default JDOQL implementation but is available to be used, and can be used with the query caching mechanism.
    • LDAP : Support for persistence of recursive object graph to hierarchical structure
    • Add support for PMF/EMF singleton pattern, via persistence property
    • Spatial : Many fixes to handling of JTS types.
    • Many bug fixes, and minor feature additions.
    Documentation is available to view online (HTML) or available to download (HTML/PDF). Limited free support for AccessPlatform is provided by way of our forum. Commercial support and consulting is also provided. Thanks to NightLabs for their continued hosting, and to SourceForge for source code repositories. Finally, thanks to everyone who has helped in the development of DataNucleus AccessPlatform 2.0 over the last 10 months.

    Threaded Messages (5)

  2. Bye Bye Hibernate[ Go to top ]

    Amazing feature set looks I will finally hibernate after all
  3. Criteria API[ Go to top ]

    Hi Andy, First, let me tell that I admire your work on datanucleus. Is there an official roadmap for future releases? Can you tell a bit more about Criteria API support? Will it be supported soon? Is there a plan to support Criteria API in the future versions of JDO?
  4. Re: Criteria API[ Go to top ]

    Hi Ivica, thanks for your words. Approximate roadmap is to be found here, as well as for the individual plugins in JIRA. JPA2 Criteria API should appear to some degree during 2.0 (some work has already been done), but certainly complete before 2.1 "release". The roadmap is open to input, particular to companies wishing to see particular features sooner. Provision of a type-safe query mechanism for JDO is not planned as such but was discussed some time ago. There already exist third party JDOQL syntax type-safe queries though, one such example is QueryDSL. Since JDO is developed in the open then you can easily push for this type of feature via the Apache JDO group mailing lists.
  5. Re: Criteria API[ Go to top ]

    JPA2 Criteria API should appear to some degree during 2.0
    In fact AccessPlatform 2.0.1 (now released) has support for JPA2 Criteria API (with the exception of subqueries, some less useful QueryBuilder methods, and the static metamodel classes).
  6. Datanucleus + AmazonS3[ Go to top ]

    Congrats on the release of Datanucleus. I was intrigued by the Amazon S3 integration so I created a simple test project of JPA + Amazon S3 using datanucleus. Check it out in my post: http://www.den-4.com/?p=113 -tony