1 21 22 package org.apache.derby.shared.common.reference; 23 import java.sql.DatabaseMetaData ; 24 import java.sql.ParameterMetaData ; 25 import java.sql.ResultSet ; 26 import java.sql.Statement ; 27 import java.sql.Types ; 28 43 44 public interface JDBC30Translation { 45 48 public static final int SQL_STATE_XOPEN = DatabaseMetaData.sqlStateXOpen; 49 public static final int SQL_STATE_SQL99 = DatabaseMetaData.sqlStateSQL99; 50 51 54 public static final int PARAMETER_NO_NULLS = ParameterMetaData.parameterNoNulls; 55 public static final int PARAMETER_NULLABLE = ParameterMetaData.parameterNullable; 56 public static final int PARAMETER_NULLABLE_UNKNOWN = ParameterMetaData.parameterNullableUnknown; 57 public static final int PARAMETER_MODE_UNKNOWN = ParameterMetaData.parameterModeUnknown; 58 public static final int PARAMETER_MODE_IN = ParameterMetaData.parameterModeIn; 59 public static final int PARAMETER_MODE_IN_OUT = ParameterMetaData.parameterModeInOut; 60 public static final int PARAMETER_MODE_OUT = ParameterMetaData.parameterModeOut; 61 62 65 public static final int HOLD_CURSORS_OVER_COMMIT = ResultSet.HOLD_CURSORS_OVER_COMMIT; 66 public static final int CLOSE_CURSORS_AT_COMMIT = ResultSet.CLOSE_CURSORS_AT_COMMIT; 67 68 71 public static final int CLOSE_CURRENT_RESULT = Statement.CLOSE_CURRENT_RESULT; 72 public static final int KEEP_CURRENT_RESULT = Statement.KEEP_CURRENT_RESULT; 73 public static final int CLOSE_ALL_RESULTS = Statement.CLOSE_ALL_RESULTS; 74 public static final int SUCCESS_NO_INFO = Statement.SUCCESS_NO_INFO; 75 public static final int EXECUTE_FAILED = Statement.EXECUTE_FAILED; 76 public static final int RETURN_GENERATED_KEYS = Statement.RETURN_GENERATED_KEYS; 77 public static final int NO_GENERATED_KEYS = Statement.NO_GENERATED_KEYS; 78 79 82 public static final int DATALINK = Types.DATALINK; 83 public static final int BOOLEAN = Types.BOOLEAN; 84 85 88 public static final int SQL_TYPES_BOOLEAN = Types.BOOLEAN; 89 } 90 | Popular Tags |