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 StringBindVariable extends AbstractBindVariable {
8 public StringBindVariable(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.VARCHAR;
18 }
19 }
This page was automatically generated by Maven