svn commit: r1658214 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1658214 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java

adrianc
Author: adrianc
Date: Sun Feb  8 16:59:09 2015
New Revision: 1658214

URL: http://svn.apache.org/r1658214
Log:
Fix C&P error in my last commit.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java?rev=1658214&r1=1658213&r2=1658214&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/JdbcValueHandler.java Sun Feb  8 16:59:09 2015
@@ -86,8 +86,8 @@ public abstract class JdbcValueHandler<T
         result.put("java.sql.Clob", new ClobJdbcValueHandler(Types.CLOB));
         result.put("Clob", new ClobJdbcValueHandler(Types.CLOB));
         // JDBC 4
-        result.put("RowId", new RowIdJdbcValueHandler(Types.ARRAY));
-        result.put("java.sql.RowId", new RowIdJdbcValueHandler(Types.ARRAY));
+        result.put("RowId", new RowIdJdbcValueHandler(Types.ROWID));
+        result.put("java.sql.RowId", new RowIdJdbcValueHandler(Types.ROWID));
         // Non-JDBC Types
         result.put("java.lang.Object", new ObjectJdbcValueHandler(Types.BLOB));
         result.put("Object", new ObjectJdbcValueHandler(Types.BLOB));