Package org.geotools.jdbc.util
Class SqlUtil.PreparedStatementBuilder
- Object
-
- PreparedStatementBuilder
-
-
Constructor Summary
Constructors Constructor Description PreparedStatementBuilder(Connection conn, String sql)
PreparedStatementBuilder(PreparedStatement ps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlUtil.PreparedStatementBuilder
log(Level l)
SqlUtil.PreparedStatementBuilder
set(byte[] b)
SqlUtil.PreparedStatementBuilder
set(Boolean b)
SqlUtil.PreparedStatementBuilder
set(Double d)
SqlUtil.PreparedStatementBuilder
set(Integer i)
SqlUtil.PreparedStatementBuilder
set(Long l)
SqlUtil.PreparedStatementBuilder
set(String s)
SqlUtil.PreparedStatementBuilder
set(Date d)
PreparedStatement
statement()
-
-
-
Constructor Detail
-
PreparedStatementBuilder
public PreparedStatementBuilder(PreparedStatement ps) throws SQLException
- Throws:
SQLException
-
PreparedStatementBuilder
public PreparedStatementBuilder(Connection conn, String sql) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
set
public SqlUtil.PreparedStatementBuilder set(Long l) throws SQLException
- Throws:
SQLException
-
set
public SqlUtil.PreparedStatementBuilder set(Integer i) throws SQLException
- Throws:
SQLException
-
set
public SqlUtil.PreparedStatementBuilder set(Double d) throws SQLException
- Throws:
SQLException
-
set
public SqlUtil.PreparedStatementBuilder set(String s) throws SQLException
- Throws:
SQLException
-
set
public SqlUtil.PreparedStatementBuilder set(Boolean b) throws SQLException
- Throws:
SQLException
-
set
public SqlUtil.PreparedStatementBuilder set(Date d) throws SQLException
- Throws:
SQLException
-
set
public SqlUtil.PreparedStatementBuilder set(byte[] b) throws SQLException
- Throws:
SQLException
-
log
public SqlUtil.PreparedStatementBuilder log(Level l)
-
statement
public PreparedStatement statement()
-
-