Interface SQLStatementIF
-
- All Known Implementing Classes:
SQLStatement
public interface SQLStatementIF
INTERNAL: Represents a concrete SQL query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultSet
executeQuery(Connection conn)
INTERNAL: Execute the statement without any parameters and return a JDBC result set.ResultSet
executeQuery(Connection conn, Object[] params)
INTERNAL: Execute the statement with parameters and return a JDBC result set.ResultSet
executeQuery(Connection conn, Map params)
INTERNAL: Execute the statement with parameters and return a JDBC result set.TicketIF
getTicket()
int
getWidth()
INTERNAL: Returns the number of fields that will be selected by the statement.Object
readValue(TicketIF ticket, ResultSet rs, int index, boolean lookup_identities)
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.void
setAccessRegistrar(AccessRegistrarIF registrar)
void
setObjectAccess(ObjectAccessIF oaccess)
-
-
-
Method Detail
-
setObjectAccess
void setObjectAccess(ObjectAccessIF oaccess)
-
setAccessRegistrar
void setAccessRegistrar(AccessRegistrarIF registrar)
-
getTicket
TicketIF getTicket()
-
getWidth
int getWidth()
INTERNAL: Returns the number of fields that will be selected by the statement.
-
executeQuery
ResultSet executeQuery(Connection conn) throws Exception
INTERNAL: Execute the statement without any parameters and return a JDBC result set.- Throws:
Exception
-
executeQuery
ResultSet executeQuery(Connection conn, Object[] params) throws Exception
INTERNAL: Execute the statement with parameters and return a JDBC result set.- Throws:
Exception
-
executeQuery
ResultSet executeQuery(Connection conn, Map params) throws Exception
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
-
-