com.alibaba.druid.support.spring
Class DruidLobCreator
java.lang.Object
com.alibaba.druid.support.spring.DruidLobCreator
- All Implemented Interfaces:
- org.springframework.jdbc.support.lob.LobCreator
public class DruidLobCreator
- extends Object
- implements org.springframework.jdbc.support.lob.LobCreator
|
Method Summary |
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)
|
DruidLobCreator
public DruidLobCreator()
setBlobAsBytes
public void setBlobAsBytes(PreparedStatement ps,
int paramIndex,
byte[] content)
throws SQLException
- Specified by:
setBlobAsBytes in interface org.springframework.jdbc.support.lob.LobCreator
- Throws:
SQLException
setBlobAsBinaryStream
public void setBlobAsBinaryStream(PreparedStatement ps,
int paramIndex,
InputStream contentStream,
int contentLength)
throws SQLException
- Specified by:
setBlobAsBinaryStream in interface org.springframework.jdbc.support.lob.LobCreator
- Throws:
SQLException
setClobAsString
public void setClobAsString(PreparedStatement ps,
int paramIndex,
String content)
throws SQLException
- Specified by:
setClobAsString in interface org.springframework.jdbc.support.lob.LobCreator
- Throws:
SQLException
setClobAsAsciiStream
public void setClobAsAsciiStream(PreparedStatement ps,
int paramIndex,
InputStream asciiStream,
int contentLength)
throws SQLException
- Specified by:
setClobAsAsciiStream in interface org.springframework.jdbc.support.lob.LobCreator
- Throws:
SQLException
setClobAsCharacterStream
public void setClobAsCharacterStream(PreparedStatement ps,
int paramIndex,
Reader characterStream,
int contentLength)
throws SQLException
- Specified by:
setClobAsCharacterStream in interface org.springframework.jdbc.support.lob.LobCreator
- Throws:
SQLException
close
public void close()
- Specified by:
close in interface org.springframework.jdbc.support.lob.LobCreator
Copyright © 2012 Alibaba Group. All Rights Reserved.