This extension provides Java Annotations for defining the OData (V2) EDM and Interfaces (Hooks) for attaching generic data sources providing the data. The extension is based (forked) from the Apache Olingo Annotation Processor (see Olingo Homepage and Maven Central).
- Create your EDM (Entity Data Model) with using Java Annotations (the EDM-(Java)-Annotations from the Apache Olingo OData Library (v2) (or in maven central))
- Data Access Layer with...
- ...
DataSourcefor providing the Data from the view of an OData Service - ...
DataStorefor providing the Data from the view of an Data Storage Service (e.g. a Database)
- ...
- Generic
DataSourceandDataStoreimplementations for...- ...using the EDM-(Java)-Annotations in combination with an In-Memory-Store (none-persistent)
- ...using the EDM-(Java)-Annotations in combination with an JPA-Based-Store
ReadOptionsandReadResultfor optimized data access (read) in theDataStorelayer
Version 2.3/3.0(current development version - release upcoming)- Enhancement from [Janos#10]: More customization over generic (default) data processing (see also in Roadmap at the end of this readme)
- Updated
Apache Olingoto version2.0.9
Version 2.2(current stable version - release 21.02.2016)- Janos#9: Add method to create an
EdmProviderbased onAnnotations(accordingly annotated classes) - Janos#8: All fields of an POJO are handled as
@EdmPropertyby default (if no fields with annotations (beside@EdmKey) is found) - Updated
Apache Olingoto version2.0.6and because Olingo updated toGSon 2.4also updatedGson. - Switch to real Semantic Versioning. Based on this decision it is possible that next version will be
3 .0instead of2.2, however the API did not changed, hence the release version is now2.2.0.
- Janos#9: Add method to create an
Version 2.1(current stable version - released 07.10.2015)- Added
ReadOptionsandReadResultfor optimization of data access (read) in theDataStorelayer - Refactored API packages (incompatible changes to
2.0) - Refactored (changed) API methods
org.apache.olingo.odata2.janos.processor.api.data.source.DataSourcecreateData(...)method now returns the new created instance instead of modifying the given data parameter instance.org.apache.olingo.odata2.janos.processor.api.data.store.DataStoreall data access methods can now throw aDataStoreException
- Updated to newest Apache Olingo version
2.0.5
- Added
Version 2.0(released 03.09.2015)- Made
DataStoreandDataSourcepart of the public API - Provide a generic
JpaAnnotationDataStoreand aDualDataStoreManagerwhich can handle Model classes with JPA annotations - Added support for FunctionImports via the
@EdmFunctionImportannotation and theFunctionExecutorinterface - First stable version based on fork of the Apache Olingo Annotation Processor (see Olingo Homepage and Maven Central).
- Made
- Abstract Topics
- Provide more Extension points for customization of generic (default) data processing (e.g. start/end of transaction). Beside the actual only possibility to use the ReadOptions and ReadResult for performance optimization. -> created enhancement Janos#10
- Provide more documentation (e.g. tutorials) as just the source code
- Specific enhancements
- Support
ReadOptionsandReadResultforFunctionSource(FunctionImports)
- Support