Interface SQLStatementIF
- All Known Implementing Classes:
SQLStatement
public interface SQLStatementIF
INTERNAL: Represents a concrete SQL query.
-
Method Summary
Modifier and TypeMethodDescriptionexecuteQuery(Connection conn) INTERNAL: Execute the statement without any parameters and return a JDBC result set.executeQuery(Connection conn, Object[] params) INTERNAL: Execute the statement with parameters and return a JDBC result set.executeQuery(Connection conn, Map params) INTERNAL: Execute the statement with parameters and return a JDBC result set.intgetWidth()INTERNAL: Returns the number of fields that will be selected by the statement.INTERNAL: Read the field value of the specified index from the current row in the result set.Object[]readValues(TicketIF ticket, ResultSet rs, boolean lookup_identities) INTERNAL: Reads all the field values from the current row in the result set.Object[]readValues(TicketIF ticket, ResultSet rs, Object[] values, boolean lookup_identities) INTERNAL: Reads all the field values from the current row into the specified value array.voidsetAccessRegistrar(AccessRegistrarIF registrar) voidsetObjectAccess(ObjectAccessIF oaccess)
-
Method Details
-
setObjectAccess
-
setAccessRegistrar
-
getTicket
TicketIF getTicket() -
getWidth
int getWidth()INTERNAL: Returns the number of fields that will be selected by the statement. -
executeQuery
INTERNAL: Execute the statement without any parameters and return a JDBC result set.- Throws:
Exception
-
executeQuery
INTERNAL: Execute the statement with parameters and return a JDBC result set.- Throws:
Exception
-
executeQuery
INTERNAL: Execute the statement with parameters and return a JDBC result set.- Throws:
Exception
-
readValue
Object readValue(TicketIF ticket, ResultSet rs, int index, boolean lookup_identities) throws Exception INTERNAL: Read the field value of the specified index from the current row in the result set.If the field is an identity field or a reference field, the object identity will be extracted and the identity will be used to look up the object in the transaction.
- Throws:
Exception
-
readValues
Object[] readValues(TicketIF ticket, ResultSet rs, Object[] values, boolean lookup_identities) throws Exception INTERNAL: Reads all the field values from the current row into the specified value array. Note that this array must have a width that is equal or greater than the width of the result.- Throws:
Exception
-
readValues
INTERNAL: Reads all the field values from the current row in the result set.- Throws:
Exception
-