All Packages Class Hierarchy This Package Previous Next Index
com.imaginary.sql.msql.MsqlTypes
int from
this class for the specified SQL type from java.sql.Types
.
-
getMsqlTypeNameForMsql(int)
- Provides a
String
representation of the specified
mSQL type.
-
getMsqlTypeNameForSQL(int)
- Provides the mSQL type name for the specified SQL type constant
from
java.sql.Types
.
-
getSQLTypeForMsql(int)
- Provides the SQL type that corresponds to the specified mSQL type.
public static final int INT
public static final int CHAR
public static final int REAL
public static final int IDENT
public static final int NULL
public static final int TEXT
public static final int DATE
public static final int UINT
public static final int MONEY
public static final int TIME
public static final int IDX
public static final int SYSVAR
public static final int ANY
public MsqlTypes()
public static int getMsqlTypeForSQL(int sql)
int from
this class for the specified SQL type from java.sql.Types
.
The conversion used here is the same conversion the driver uses.
- Parameters:
- sql - the SQL type from
java.sql.Types
- Returns:
- an
int
value representing the mSQL type
- See Also:
- Types
public static String getMsqlTypeNameForMsql(int msql)
String
representation of the specified
mSQL type. The representation is using the mSQL type system.
public static String getMsqlTypeNameForSQL(int sql)
java.sql.Types
.
public static int getSQLTypeForMsql(int msql)
java.sql.Types
All Packages Class Hierarchy This Package Previous Next Index