Package org.fugerit.java.core.db.daogen
Class SQLTypeConverter
- java.lang.Object
-
- org.fugerit.java.core.db.daogen.SQLTypeConverter
-
public class SQLTypeConverter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Function<Exception,SQLException>
CONVERT_EX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ByteArrayDataHandler
blobToByteHandler(Blob s)
static CharArrayDataHandler
clobToCharHandler(Clob s)
static Date
utilDateToSqlDate(Date s)
static Time
utilDateToSqlTime(Date s)
static Timestamp
utilDateToSqlTimestamp(Date s)
-
-
-
Field Detail
-
CONVERT_EX
public static final Function<Exception,SQLException> CONVERT_EX
-
-
Method Detail
-
blobToByteHandler
public static ByteArrayDataHandler blobToByteHandler(Blob s) throws SQLException
- Throws:
SQLException
-
clobToCharHandler
public static CharArrayDataHandler clobToCharHandler(Clob s) throws SQLException
- Throws:
SQLException
-
-