Hi Stephen,

Nice to here that you want to use Apache Olingo.
But my first suggestion is to use Olingo in version "2.0.0" (instead of
1.2.0).
Version 2.0.0 includes several fixes, improvements and is the current
stable version for OData Version 2.

Now to your question, do you want to use the auto generation features
which the JPA-Processor (ODataJPAServiceFactory) provides (e.g. EDM based
on JPA annotated model)?
Or do you want to create an own implementation of an
"ODataSingleProcessor" which then uses an Entity Manager (with CMP)?

Kind regards,
Michael 




On 01.09.14 16:05, "Cherian, Stephen" <[email protected]> wrote:

>Hi Olingo team,
>  We were planning to use Apache Olingo  Java libraries(1.2.0) for
>developing a Java based on SAP HANA Cloud. We were planning to use  JPA
>with container managed persistence for this application. We were
>wondering how to inject Entity Manager to class which extends
>ODataJPAServiceFactory as mentioned
>http://olingo.apache.org/doc/tutorials/CreateWebApp.html for container
>managed persistence .  I came across an SCN thread regarding Injecting
>Entity Manager to Olingo with JTA http://scn.sap.com/thread/3463636 .
>Unfortunately as per the person who started the thread he does not have a
>solution yet. Can you give some sample code or guidance on how we can
>achieve Container Managed Persistence with Olingo.
>
>Thanks and Best Regards
>Stephen

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to