View Javadoc
1 package net.sourceforge.backpedal.impl.db; 2 3 import java.sql.PreparedStatement; 4 import java.sql.SQLException; 5 import java.sql.Timestamp; 6 import java.sql.Types; 7 8 public class TimestampBindVariable extends AbstractBindVariable { 9 public TimestampBindVariable(int p0, Timestamp p1, String columnName) { 10 super(p0, p1, columnName); 11 } 12 13 public void setInto(int index, PreparedStatement preparedStatement) throws SQLException { 14 preparedStatement.setTimestamp(index, (java.sql.Timestamp) getValue()); 15 } 16 17 public int getSqlType() { 18 return Types.TIMESTAMP; 19 } 20 }

This page was automatically generated by Maven