openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wisnes...@apache.org
Subject svn commit: r547830 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Column.java
Date Fri, 15 Jun 2007 23:44:31 GMT
Author: wisneskid
Date: Fri Jun 15 16:44:31 2007
New Revision: 547830

URL: http://svn.apache.org/viewvc?view=rev&rev=547830
Log:
OPENJPA-240 Feature:Persistent field mapping support for XML column type.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Column.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Column.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Column.java?view=diff&rev=547830&r1=547829&r2=547830
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Column.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Column.java Fri
Jun 15 16:44:31 2007
@@ -708,4 +708,11 @@
         if (_flags == 0)
             _flags = from._flags;
     }
+    
+    /**
+     * Whether this column is an XML type.
+     */
+    public boolean isXML() {
+        return _typeName != null && _typeName.startsWith("XML");
+    }
 }



Mime
View raw message