public class DruidLobCreator extends Object implements org.springframework.jdbc.support.lob.LobCreator
| Constructor and Description |
|---|
DruidLobCreator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
setBlobAsBinaryStream(PreparedStatement ps,
int paramIndex,
InputStream contentStream,
int contentLength) |
void |
setBlobAsBytes(PreparedStatement ps,
int paramIndex,
byte[] content) |
void |
setClobAsAsciiStream(PreparedStatement ps,
int paramIndex,
InputStream asciiStream,
int contentLength) |
void |
setClobAsCharacterStream(PreparedStatement ps,
int paramIndex,
Reader characterStream,
int contentLength) |
void |
setClobAsString(PreparedStatement ps,
int paramIndex,
String content) |
public void setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) throws SQLException
setBlobAsBytes in interface org.springframework.jdbc.support.lob.LobCreatorSQLExceptionpublic void setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream contentStream, int contentLength) throws SQLException
setBlobAsBinaryStream in interface org.springframework.jdbc.support.lob.LobCreatorSQLExceptionpublic void setClobAsString(PreparedStatement ps, int paramIndex, String content) throws SQLException
setClobAsString in interface org.springframework.jdbc.support.lob.LobCreatorSQLExceptionpublic void setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) throws SQLException
setClobAsAsciiStream in interface org.springframework.jdbc.support.lob.LobCreatorSQLExceptionpublic void setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) throws SQLException
setClobAsCharacterStream in interface org.springframework.jdbc.support.lob.LobCreatorSQLExceptionpublic void close()
close in interface org.springframework.jdbc.support.lob.LobCreatorCopyright © 2013–2018 Alibaba Group. All rights reserved.