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
-
Interface Summary Interface Description ODataJPAContext This class does the compilation of context objects required for OData JPA Runtime.ODataJPAResponseBuilder The interface provides methods for building an OData response from a JPA Entity.ODataJPATransaction Interface for JPA-Transaction abstraction.OnJPAWriteContent 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. -
Class Summary Class Description ODataJPADefaultProcessor ODataJPAProcessor Extend this class and implement an OData JPA processor if the default behavior of OData JPA Processor library has to be overwritten.ODataJPAQueryExtensionEntityListener Extend this class to build JPA Query object for a given OData request.ODataJPAServiceFactory Extend this factory class and create own instance ofODataServicethat transforms Java Persistence Models into an OData Service.ODataJPATombstoneContext This class provides a thread safe container for accessing Tombstone objectsODataJPATombstoneEntityListener Extend this class and implement a JPA Entity Listener as specified in JSR 317 Java Persistence 2.0.