You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2013/10/27 07:45:45 UTC
git commit: OLINGO-46 Fix for IllegalArgumentException: While parsing
Embeddable Keys - JPAEntityParser
Updated Branches:
refs/heads/master 9c136f0c9 -> 570f77e4c
OLINGO-46 Fix for IllegalArgumentException: While parsing Embeddable Keys
- JPAEntityParser
Signed-off-by: Chandan V A <ch...@sap.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/commit/570f77e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/570f77e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/570f77e4
Branch: refs/heads/master
Commit: 570f77e4c813538b719a2e5843c4d774f7ae3256
Parents: 9c136f0
Author: Chandan V A <ch...@sap.com>
Authored: Sun Oct 27 12:13:59 2013 +0530
Committer: Chandan V A <ch...@sap.com>
Committed: Sun Oct 27 12:13:59 2013 +0530
----------------------------------------------------------------------
.../odata2/processor/core/jpa/access/data/JPAEntityParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/570f77e4/odata2-processor-jpa/jpa-core/src/main/java/org/apache/olingo/odata2/processor/core/jpa/access/data/JPAEntityParser.java
----------------------------------------------------------------------
diff --git a/odata2-processor-jpa/jpa-core/src/main/java/org/apache/olingo/odata2/processor/core/jpa/access/data/JPAEntityParser.java b/odata2-processor-jpa/jpa-core/src/main/java/org/apache/olingo/odata2/processor/core/jpa/access/data/JPAEntityParser.java
index fad4b9b..e89bec7 100644
--- a/odata2-processor-jpa/jpa-core/src/main/java/org/apache/olingo/odata2/processor/core/jpa/access/data/JPAEntityParser.java
+++ b/odata2-processor-jpa/jpa-core/src/main/java/org/apache/olingo/odata2/processor/core/jpa/access/data/JPAEntityParser.java
@@ -192,7 +192,7 @@ public final class JPAEntityParser {
method = propertyValue.getClass().getMethod(
namePart, (Class<?>[]) null);
method.setAccessible(true);
- propertyValue = getProperty(method, jpaEntity);
+ propertyValue = getProperty(method, propertyValue);
}
edmEntity.put(key, propertyValue);
}