org.deegree.observation.persistence
Interface QueryBuilder.SetObject
- Enclosing class:
- QueryBuilder
public static interface QueryBuilder.SetObject
This interface is used to set objects into prepared statements. The set method is called when the sql statement
is created. Users of the QueryBuilder must implement this interface for each parameter (?) to set the
Method Summary |
void |
set(PreparedStatement stmt,
int i)
This method should add a value to the i'th parameter of the PreparedStatement. |
set
void set(PreparedStatement stmt,
int i)
throws SQLException
- This method should add a value to the i'th parameter of the PreparedStatement. (e.g. stmt.setString( i,
"foo"))
- Parameters:
stmt
- the PreparedStatement to add the parameter valuei
- the number of the parameter
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.