db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r632410 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java shared/org/apache/derby/shared/common/reference/JDBC20Translation.java shared/org/apache/derby/shared/common/reference/JDBC30Translation.java
Date Fri, 29 Feb 2008 19:05:49 GMT
Author: djd
Date: Fri Feb 29 11:05:41 2008
New Revision: 632410

URL: http://svn.apache.org/viewvc?rev=632410&view=rev
Log:
DERBY-3484 Remove an unused JDBC20Translation class and some unused JDBC translation constants.
Note that the minimum JDBC level is JSR 169 which is a subset of JDBC 3. and includes most
(but not all) of the constants from JDBC 3.0

Removed:
    db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC20Translation.java
Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
    db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC30Translation.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java?rev=632410&r1=632409&r2=632410&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
Fri Feb 29 11:05:41 2008
@@ -3262,7 +3262,7 @@
 	*/
 	public int getSQLStateType()
 	{
-		return JDBC30Translation.SQL_STATE_SQL99;
+		return sqlStateSQL99;
 	}
 
 	/**

Modified: db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC30Translation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC30Translation.java?rev=632410&r1=632409&r2=632410&view=diff
==============================================================================
--- db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC30Translation.java
(original)
+++ db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC30Translation.java
Fri Feb 29 11:05:41 2008
@@ -20,7 +20,6 @@
  */
 
 package org.apache.derby.shared.common.reference;
-import java.sql.DatabaseMetaData;
 import java.sql.ParameterMetaData;
 import java.sql.ResultSet;
 import java.sql.Statement;
@@ -42,11 +41,6 @@
 */
 
 public interface JDBC30Translation {
-        /*
-        ** public statics from 3.0 version of java.sql.DatabaseMetaData
-        */
-        public static final int SQL_STATE_XOPEN = DatabaseMetaData.sqlStateXOpen;
-        public static final int SQL_STATE_SQL99 = DatabaseMetaData.sqlStateSQL99;
 
         /*
         ** public statics from 3.0 version of java.sql.ParameterMetaData



Mime
View raw message