From 2d073129857a42ab4195cd433c8be152e357033f Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Mon, 21 Mar 2011 20:40:57 +0000 Subject: Documentation refresh; ResourceBundle in ShowUtils; probably some format pokery. --- doc/uk/org/ury/database/DatabaseDriver.html | 31 ++++++++++++----------------- 1 file changed, 13 insertions(+), 18 deletions(-) (limited to 'doc/uk/org/ury/database/DatabaseDriver.html') diff --git a/doc/uk/org/ury/database/DatabaseDriver.html b/doc/uk/org/ury/database/DatabaseDriver.html index 7bd5c25..e308ac0 100644 --- a/doc/uk/org/ury/database/DatabaseDriver.html +++ b/doc/uk/org/ury/database/DatabaseDriver.html @@ -2,12 +2,12 @@ - + DatabaseDriver - + @@ -101,9 +101,8 @@ java.lang.Object

-A database connection manager that connects to the URY databases - using suitably privileged accounts, and handles the processing - of SQL queries. +A database connection manager that connects to the URY databases using + suitably privileged accounts, and handles the processing of SQL queries.

@@ -195,13 +194,10 @@ public DatabaseDriver(MissingCredentialsException - if the user class - login credentials could not be loaded. -

ConnectionFailureException - if the database - backend failed to connect to the database - server. +
java.lang.IllegalArgumentException - if the user class is not supported (this should not happen). +
MissingCredentialsException - if the user class login credentials could not be loaded. +
ConnectionFailureException - if the database backend failed to connect to the database + server. @@ -242,17 +238,16 @@ public java.sql.ResultSet executeQuery(java.lang.String sql,
Perform a SQL statement with arguments. - This accepts an array of parameter objects, which must each - either be String or Integer objects. The objects will be used - sequentially to fill in '?' placeholders in the query text. + This accepts an array of parameter objects, which must each either be + String or Integer objects. The objects will be used sequentially to fill + in '?' placeholders in the query text.

Parameters:
sql - The SQL statement to execute.
params - A list of parameter objects.
fetchSize - The maximum number of query rows to return.
Returns:
the set of results from the query.
Throws: -
java.lang.IllegalArgumentException - if any of the - parameters is unsupported by the database as - a statement parameter. +
java.lang.IllegalArgumentException - if any of the parameters is unsupported by the database as a + statement parameter.
java.sql.SQLException - if a SQL error occurs.
-- cgit v1.2.3