openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r437981 - /incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
Date Tue, 29 Aug 2006 06:15:00 GMT
Author: mprudhom
Date: Mon Aug 28 23:14:59 2006
New Revision: 437981

URL: http://svn.apache.org/viewvc?rev=437981&view=rev
Log:
Removed check for Long.MIN_VALUE, since recent version of HSQL do not have the storage limitation.

Modified:
    incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java

Modified: incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java?rev=437981&r1=437980&r2=437981&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
(original)
+++ incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
Mon Aug 28 23:14:59 2006
@@ -213,16 +213,6 @@
         return cols;
     }
 
-    public void setLong(PreparedStatement stmnt, int idx, long val, Column col)
-        throws SQLException {
-        if (val == Long.MIN_VALUE) {
-            val = Long.MIN_VALUE + 1;
-            storageWarning(Numbers.valueOf(Long.MIN_VALUE),
-                Numbers.valueOf(val));
-        }
-        super.setLong(stmnt, idx, val, col);
-    }
-
     public void setBigDecimal(PreparedStatement stmnt, int idx, BigDecimal val,
         Column col)
         throws SQLException {



Mime
View raw message