Package org.apache.olingo.odata2.jpa.processor.api
package org.apache.olingo.odata2.jpa.processor.api
OData JPA Processor API Library
The library provides a way for the developers to create an OData Service from a Java Persistence Model. The library supports Java Persistence 2.0 and is dependent on OData library. To create an OData service from JPA models- extend the service factory class
ODataJPAServiceFactoryand implement the methods - define a JAX-RS servlet in web.xml and configure the service factory as servlet init parameter.
See Also:
ODataJPAServiceFactory
-
ClassDescriptionThis class does the compilation of context objects required for OData JPA Runtime.Extend this class and implement an OData JPA processor if the default behavior of OData JPA Processor library has to be overwritten.Extend this class to build JPA Query object for a given OData request.The interface provides methods for building an OData response from a JPA Entity.Extend this factory class and create own instance of
ODataServicethat transforms Java Persistence Models into an OData Service.This class provides a thread safe container for accessing Tombstone objectsExtend this class and implement a JPA Entity Listener as specified in JSR 317 Java Persistence 2.0.Interface for JPA-Transaction abstraction.The interface is a call back interface that enables OData JPA Processor to get JPA provider specific implementation of java.sql.Blob and java.sql.Clob instances.