Connect to the database, execute a SELECT statement to get an Integer
value, and based on its existence, execute a 2nd or 3rd string of SQL,
then disconnect, returning the Integer value if the row exists, null
otherwise, using the default values for Connection, Logger,
ConnectionPool, and DBConfig.
Connect to the database, execute a SELECT statement to get an Integer
value, and if it is greater than 0, execute a 2nd string of SQL, then
disconnect, returning true if the Integer is greater than 0, using the
default values for Connection, Logger, ConnectionPool, and DBConfig.
Connect to the database, execute a SELECT statement to get an Integer
value, and based on whether it is greater than 0, execute a 2nd or
3rd string of SQL, then disconnect, returning true if the Integer is
greater than 0, using the default values for Connection, Logger,
ConnectionPool, and DBConfig.
Connect to the database, execute a SELECT statement to get an Integer
value, and if it is not greater than 0, execute a 2nd string of SQL, then
disconnect, returning true if the Integer is not greater than 0, using the
default values for Connection, Logger, ConnectionPool, and DBConfig.
Connect to the database, execute a one string of SQL or another based
on the value of boolean flag, then disconnect, using the default values
for Connection, Logger, ConnectionPool, and DBConfig.