openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hthom...@apache.org
Subject svn commit: r1339862 - /openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ReflectingPersistenceCapable.java
Date Thu, 17 May 2012 21:06:41 GMT
Author: hthomann
Date: Thu May 17 21:06:40 2012
New Revision: 1339862

URL: http://svn.apache.org/viewvc?rev=1339862&view=rev
Log:
OPENJPA-838: Applied Helen Xu's changes where she back ported Pinaki's changes from 1.2.x

Modified:
    openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ReflectingPersistenceCapable.java

Modified: openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ReflectingPersistenceCapable.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ReflectingPersistenceCapable.java?rev=1339862&r1=1339861&r2=1339862&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ReflectingPersistenceCapable.java
(original)
+++ openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ReflectingPersistenceCapable.java
Thu May 17 21:06:40 2012
@@ -73,7 +73,7 @@ public class ReflectingPersistenceCapabl
     }
 
     public void pcProvideField(int i) {
-        switch (meta.getField(i).getTypeCode()) {
+        switch (meta.getField(i).getDeclaredTypeCode()) {
             case JavaTypes.BOOLEAN:
                 sm.providedBooleanField(this, i,
                     ((Boolean) getValue(i, o)).booleanValue());



Mime
View raw message