You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2014/01/02 08:20:50 UTC

[jira] [Updated] (OLINGO-104) JPA Documentation Update: Adding Non JPA Entities as Function Import Return Types

     [ https://issues.apache.org/jira/browse/OLINGO-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chandan V.A updated OLINGO-104:
-------------------------------

    Description: 
Hello Deepa,
Two new features have been introduced in OData2-JPA processor where 
A) One can extend the EDM generated from JPA Models by implementing the Interface method org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension.extendJPAEdmSchema.
B) One can add non JPA Entity Types to the EDM and use the same as Function Imports return type.

Refer to [1] for more details.
The documentation [2] needs to be updated with details on how one can add a non JPA Entity as complex types to EDM and then use the same as the return type in a function import.

[1] https://issues.apache.org/jira/browse/OLINGO-28
[2] http://olingo.incubator.apache.org/doc/tutorials/jpafunctionimport.html

Regards
Chandan

  was:
Hello Deepa,
Two new features have been introduced in OData2-JPA processor where 
# One can extend the EDM generated from JPA Models by implementing the Interface method *org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension.extendJPAEdmSchema*.
# One can add non JPA Entity Types to the EDM and use the same as Function Imports return type.

Refer to [1] for more details.
The documentation [2] needs to be updated with details on how one can add a non JPA Entity as complex types to EDM and then use the same as the return type in a function import.

[1] https://issues.apache.org/jira/browse/OLINGO-28
[2] http://olingo.incubator.apache.org/doc/tutorials/jpafunctionimport.html

Regards
Chandan


> JPA Documentation Update: Adding Non JPA Entities as Function Import Return Types
> ---------------------------------------------------------------------------------
>
>                 Key: OLINGO-104
>                 URL: https://issues.apache.org/jira/browse/OLINGO-104
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata2-documentation
>    Affects Versions: V2 1.1.0
>            Reporter: Chandan V.A
>            Assignee: Deepashree
>             Fix For: V2 1.1.0
>
>
> Hello Deepa,
> Two new features have been introduced in OData2-JPA processor where 
> A) One can extend the EDM generated from JPA Models by implementing the Interface method org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension.extendJPAEdmSchema.
> B) One can add non JPA Entity Types to the EDM and use the same as Function Imports return type.
> Refer to [1] for more details.
> The documentation [2] needs to be updated with details on how one can add a non JPA Entity as complex types to EDM and then use the same as the return type in a function import.
> [1] https://issues.apache.org/jira/browse/OLINGO-28
> [2] http://olingo.incubator.apache.org/doc/tutorials/jpafunctionimport.html
> Regards
> Chandan



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)