com.alibaba.druid.support.spring

Class DruidLobCreator

  • All Implemented Interfaces:
    org.springframework.jdbc.support.lob.LobCreator


    public class DruidLobCreatorextends Objectimplements org.springframework.jdbc.support.lob.LobCreator
    • Constructor Detail

      • DruidLobCreator

        public DruidLobCreator()
    • Method Detail

      • 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
      • 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 © 2013–2019 Alibaba Group. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14