Class BlobInputStreamTypeHandler
java.lang.Object
cool.scx.jdbc.type_handler.BlobInputStreamTypeHandler
- All Implemented Interfaces:
TypeHandler<InputStream>
BlobInputStreamTypeHandler
todo 在驱动不支持时 转换为 string 或者 byte[] 存储 ?
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetObject(PreparedStatement ps, int i, InputStream parameter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.jdbc.type_handler.TypeHandler
getDefaultValue
-
Constructor Details
-
BlobInputStreamTypeHandler
public BlobInputStreamTypeHandler()
-
-
Method Details
-
setObject
- Specified by:
setObjectin interfaceTypeHandler<InputStream>- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceTypeHandler<InputStream>- Throws:
SQLException
-