[
https://issues.apache.org/jira/browse/OLINGO-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893746#comment-13893746
]
Michael Bolz commented on OLINGO-129:
-------------------------------------
Hi Chandan,
as summary with this PoC I wanted to show/test that it is possible to do (with
little effort) an integration of a JPA based database connection into the
{{DataStore}} interfaces of the {{annotation-processor}} extension.
The differences to the OData JPA Processor is that the {{EDM}} and the generic
data access is not extracted from any kind of {{JPA}} annotation.
So the {{EDM}} and the generic data access is based on the {{api-annotation}}
of OData in the java beans.
And in addition the beans have to be annotated with {{JPA}} annotations which
than can be used by a Java {{EntityManager}} for mapping from/to the database.
As I have understand the OData JPA Processor it will also create the {{EDM}}
and data access based on {{JPA}} annotations.
Kind regards,
Michael
> PoC for JpaDataStore in combination with AnnotationInMemoryDs
> -------------------------------------------------------------
>
> Key: OLINGO-129
> URL: https://issues.apache.org/jira/browse/OLINGO-129
> Project: Olingo
> Issue Type: New Feature
> Components: odata2-annotation
> Reporter: Michael Bolz
> Assignee: Michael Bolz
> Priority: Trivial
>
> As a Proof of Concept create an {{JpaDataStore}} which is used from the
> {{AnnotationInMemoryDs}}.
> The idea is just to extract a {{DataStore}} interface and implement it with
> use of JPA/EntityManager as backend (instead of the {{HashMap}}).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)