com.pivotal.gemfirexd.internal.shared.common.reference.JDBC30Translation Maven / Gradle / Ivy
/*
Derby - Class com.pivotal.gemfirexd.internal.shared.common.reference.JDBC30Translation
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.pivotal.gemfirexd.internal.shared.common.reference;
import java.sql.ParameterMetaData;
/**
This class contains public statics that map directly
to the new public statics in the jdbc 3.0 classes.
By providing an intermediary class, we can use the
same statics without having to import the jdbc 3.0 classes
into other classes.
This class also contains some constants shared by the network server and client.
This class should not be shipped with the product.
This class has no methods, all it contains are constants
are public, static and final since they are declared in an interface.
*/
public interface JDBC30Translation {
/*
** public statics from 3.0 version of java.sql.ParameterMetaData
*/
public static final int PARAMETER_NO_NULLS = ParameterMetaData.parameterNoNulls;
public static final int PARAMETER_NULLABLE = ParameterMetaData.parameterNullable;
public static final int PARAMETER_NULLABLE_UNKNOWN = ParameterMetaData.parameterNullableUnknown;
public static final int PARAMETER_MODE_UNKNOWN = ParameterMetaData.parameterModeUnknown;
public static final int PARAMETER_MODE_IN = ParameterMetaData.parameterModeIn;
public static final int PARAMETER_MODE_IN_OUT = ParameterMetaData.parameterModeInOut;
public static final int PARAMETER_MODE_OUT = ParameterMetaData.parameterModeOut;
// Constants shared by network client and server
public static final int DEFAULT_COLUMN_DISPLAY_SIZE = 15;
public static final int UNKNOWN_SCALE = 0;
public static final int UNKNOWN_PRECISION = 0;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy