com.github.javaclub.cdl.client.parameter.SetNCharacterStreamHandler Maven / Gradle / Ivy
package com.github.javaclub.cdl.client.parameter;
import java.io.Reader;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class SetNCharacterStreamHandler implements ParameterHandler {
@Override
public void setParameter(PreparedStatement stmt, Object[] args) throws SQLException {
stmt.setNCharacterStream((Integer) args[0], (Reader) args[1], (Long) args[2]);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy