Interface RDBJDBCTools.PreparedStatementComponent
-
- Enclosing class:
- RDBJDBCTools
public static interface RDBJDBCTools.PreparedStatementComponentProvides a component for aPreparedStatementand a method for setting the parameters within this component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringgetStatementComponent()intsetParameters(PreparedStatement stmt, int startIndex)Set the parameters need by the statement component returned bygetStatementComponent()
-
-
-
Method Detail
-
getStatementComponent
@NotNull @NotNull String getStatementComponent()
- Returns:
- a string suitable for inclusion into a
PreparedStatement
-
setParameters
int setParameters(PreparedStatement stmt, int startIndex) throws SQLException
Set the parameters need by the statement component returned bygetStatementComponent()- Parameters:
stmt- the statementstartIndex- of first parameter to set- Returns:
- index of next parameter to set
- Throws:
SQLException
-
-