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:12:26 UTC

svn commit: r1527580 - /incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext

Author: sklevenz
Date: Mon Sep 30 14:12:25 2013
New Revision: 1527580

URL: http://svn.apache.org/r1527580
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=1527580&r1=1527579&r2=1527580&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:12:25 2013
@@ -22,13 +22,13 @@ 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>
+    :::xml
+    		<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.
 	
@@ -153,4 +153,7 @@ This section explains how to enable cust
         :::java
         oDataJPAContext.setJPAEdmExtension((JPAEdmExtension) new SalesOrderProcessingExtension());
 
-	*Note*: You must register the class because the OData JPA Processor Library should be informed about the list of Java methods that it needs to process in a project. If we do not register, then OData JPA Processor Library should scan all the classes and the methods in the Java project looking for EDM annotations. In order to avoid such overload, it is mandatory to specify the list of Java methods that shall be transformed into function imports in a class.
\ No newline at end of file
+	*Note*: You must register the class because the OData JPA Processor Library should be informed about the list of Java methods that it needs to process in a project. If we do not register, then OData JPA Processor Library should scan all the classes and the methods in the Java project looking for EDM annotations. In order to avoid such overload, it is mandatory to specify the list of Java methods that shall be transformed into function imports in a class.
+
+
+