Package com.spotfire.ws.im.ds.sql
Class JDBCTypeSettings.TypeMapping
java.lang.Object
com.spotfire.ws.im.ds.sql.JDBCTypeSettings.TypeMapping
- Enclosing class:
JDBCTypeSettings
Mapping between a Java and a SQL type.
The following Java types are supported:
String
Integer
Long
Float
Double
com.spotfire.ws.dat.Date
com.spotfire.ws.dat.Time
com.spotfire.ws.dat.DateTime
- Since:
- 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionTypeMapping
(Class javaType, String sqlType) Creates aTypeMapping
instance.TypeMapping
(Class javaType, String sqlType, int maxLength) Creates aTypeMapping
instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Java type.int
Returns the maximum length.Returns the SQL type.