1   package net.sourceforge.backpedal.impl.db;
2   
3   import java.sql.PreparedStatement;
4   import java.sql.SQLException;
5   import java.sql.Types;
6   
7   public class CharBindVariable extends AbstractBindVariable {
8       public CharBindVariable(int index, String value, String columnName) {
9           super(index, value, columnName);
10      }
11  
12      public void setInto(int index, PreparedStatement preparedStatement) throws SQLException {
13          preparedStatement.setString(index, (String) getValue());
14      }
15  
16      public int getSqlType() {
17          return Types.CHAR;
18      }
19  }
This page was automatically generated by Maven