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 java.lang.StringgetStatementComponent()intsetParameters(java.sql.PreparedStatement stmt, int startIndex)Set the parameters need by the statement component returned bygetStatementComponent()
-
-
-
Method Detail
-
getStatementComponent
@NotNull @NotNull java.lang.String getStatementComponent()
- Returns:
- a string suitable for inclusion into a
PreparedStatement
-
setParameters
int setParameters(java.sql.PreparedStatement stmt, int startIndex) throws java.sql.SQLExceptionSet 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:
java.sql.SQLException
-
-