You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by sk...@apache.org on 2013/09/30 16:13:50 UTC
svn commit: r1527581 -
/incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext
Author: sklevenz
Date: Mon Sep 30 14:13:50 2013
New Revision: 1527581
URL: http://svn.apache.org/r1527581
Log:
CMS commit to olingo by sklevenz
Modified:
incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext
Modified: incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext?rev=1527581&r1=1527580&r2=1527581&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext Mon Sep 30 14:13:50 2013
@@ -22,13 +22,14 @@ This section explains how to enable cust
1. Create a dependency to EDM Annotation Project. This is required to use the annotations that are defined in the project.
+
:::xml
- <dependency>
- <groupId>org.apache.olingo</groupId>
- <artifactId>olingo-odata2-api-annotation-incubating</artifactId>
- <version>x.x.x</version>
- <scope>provided</scope>
- </dependency>
+ <dependency>
+ <groupId>org.apache.olingo</groupId>
+ <artifactId>olingo-odata2-api-annotation-incubating</artifactId>
+ <version>x.x.x</version>
+ <scope>provided</scope>
+ </dependency>
2. Create a Java class and annotate the Java methods implementing custom operations with Function Import and Parameter Java annotations as shown below. Java methods can be created in JPA entity types and these methods can be annotated with EDM annotations for function import.
@@ -157,3 +158,4 @@ This section explains how to enable cust
+