openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r781824 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Types.java
Date Thu, 04 Jun 2009 18:25:29 GMT
Author: ppoddar
Date: Thu Jun  4 18:25:29 2009
New Revision: 781824

URL: http://svn.apache.org/viewvc?rev=781824&view=rev
Log:
OPENJPA-1008: handle OID type field

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Types.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Types.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Types.java?rev=781824&r1=781823&r2=781824&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Types.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Types.java
Thu Jun  4 18:25:29 2009
@@ -163,10 +163,9 @@
                 case JavaTypes.LOCALE:
                     attrs.put(f, new Members.Attribute<X, Locale>(this, f));
                     break;
-                case JavaTypes.PC:
-                    attrs.put(f, new Members.Attribute(this, f));
-                    break;
                 case JavaTypes.OBJECT:
+                case JavaTypes.OID:
+                case JavaTypes.PC:
                     attrs.put(f, new Members.Attribute(this, f));
                     break;
                 case JavaTypes.ARRAY:



Mime
View raw message