Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] SVN trunk commit: Bug#366426 - NoSQL database support (Oracle NoSQL, MongoDB)

SVN trunk commit: Bug#366426 - NoSQL database support (Oracle NoSQL, MongoDB)

 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=366426

 

http://wiki.eclipse.org/EclipseLink/DesignDocs/362899

 

This transaction adds two new components to EclipseLink foundation:

-          nosql

-          nosql.test

 

These contain support for JPA/ORM access to MongoDB through our EIS support.  These components are currently handled by the build the same as our oracle component, in that the main build does not build them, just repackages them into t! he eclipselink.jar.

 

Also support for Oracle NoSQL database was added to our existing oracle component.

 

These introduce two new dependencies currently not checked in.  These jars can be downloaded from Oracle and Mongo,

 

http://www.oracle.com/technetwork/database/nosqldb/downloads/index.html

 

https://github.com/mongodb/mongo-java-driver/downloads

 

or for Oracle committers can be found here,

\\otttlfs1\software\NoSQL

 

The MongoDB client jars is already in Orbit, although an earlier version (which is probably compatible and will be upgraded at some point).

 

The build for these new components is still under development, but should be working, and the main build should not be affected.

 

There are two new Eclipse projects for the components and a manifest file, but these are just initial ones, and are probably not completely correct as I am no Eclipse/OSGi expert.  These will probably need to be updated.

 

Code review: Andrei, Tom, Guy

 

Changes:

-          antbuild.xml – added optional nosql build to the main ant build

-          removed crud queries to xml-adapter order tests as now defaulted by the platform

-          added NoSQL test model

-          fixed setTableName to set the primary table’s name instead of throw an error if already defined

-          added nosql.test component to foundation, ant build file, eclipse project

-          added mongo JPA tests

-          added Oracle NoSQL dependencies to Oracle build/project

-          added Oracle NoSQL JPA and native API tests

-          added DataFormatType enum for NoSql annotation support

-          added NoSql, Field and JoinField annotations for NoSql support

-          added nosql.connection-spec, nosql.property, jdbc.connector, jdbc.property to specify driver level properties and connection policies

-          added default mapping creation to descriptors to create correct mapping t! ype for descriptor type

-          moved initialize of query manager to descriptor to allow different descriptor types to default different queries

-          added support for defaulting queries to xml-file adapter

-          added! support to EISDescriptor to fix up XML fields to use the correct XPath

-          added API on EISPlatform to allow interaction generation for Expressions

-          fixed some EIS processing of mapped/indexed/xml records

-          added List APIs to _expression_ some/all and deprecated Vector APIs

-          added option to platform to disable prepare of queries

-          fixed DatabaseField to compare on original field name in addition to uppercase field name, otherwise is not equal to itself and lookups will fail

-          moved like to regex code to Helper

-          made CallQueryMechanism compatible with DatasourceCall

-          fixed class loader usage for JPQL parser factory

-          added nosql component to foundation, ant build file, eclipse project and manifest

-          added MongoDBPlatform

-          added MongoDB JCA adapter

-          added OracleNoSQLPlatform

-          added Oracle NoSQL JCA adapter

-          added unwrap support to EntityManagerImpl for JCA Connection

-          added support for new nosql and jdbc properties to EntityManagerSetupImpl

-          added nosql annotation metadata support, but no orm XML support yet

 

 

 


Back to the top