diff options
author | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 20:40:57 +0000 |
---|---|---|
committer | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 20:40:57 +0000 |
commit | 2d073129857a42ab4195cd433c8be152e357033f (patch) | |
tree | 967a4bbd1989df9847539a4c4c28e0ca6a79a453 /doc/uk/org/ury/database/DatabaseDriver.html | |
parent | 0645ec66e1618ce4b52e56212c79196dd7c5c608 (diff) |
Documentation refresh; ResourceBundle in ShowUtils; probably some format pokery.
Diffstat (limited to 'doc/uk/org/ury/database/DatabaseDriver.html')
-rw-r--r-- | doc/uk/org/ury/database/DatabaseDriver.html | 31 |
1 files changed, 13 insertions, 18 deletions
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 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc (build 1.6.0_20) on Sun Mar 20 03:05:37 GMT 2011 --> +<!-- Generated by javadoc (build 1.6.0_20) on Mon Mar 21 17:00:03 GMT 2011 --> <TITLE> DatabaseDriver </TITLE> -<META NAME="date" CONTENT="2011-03-20"> +<META NAME="date" CONTENT="2011-03-21"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> @@ -101,9 +101,8 @@ java.lang.Object </PRE> <P> -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. <P> <P> @@ -195,13 +194,10 @@ public <B>DatabaseDriver</B>(<A HREF="../../../../uk/org/ury/config/ConfigReader <DL> <DT><B>Parameters:</B><DD><CODE>config</CODE> - The config with login details.<DD><CODE>type</CODE> - The user class to log in to the database with. <DT><B>Throws:</B> -<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the user class is - not supported (this should not happen). -<DD><CODE><A HREF="../../../../uk/org/ury/database/exceptions/MissingCredentialsException.html" title="class in uk.org.ury.database.exceptions">MissingCredentialsException</A></CODE> - if the user class - login credentials could not be loaded. -<DD><CODE><A HREF="../../../../uk/org/ury/database/exceptions/ConnectionFailureException.html" title="class in uk.org.ury.database.exceptions">ConnectionFailureException</A></CODE> - if the database - backend failed to connect to the database - server.</DL> +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the user class is not supported (this should not happen). +<DD><CODE><A HREF="../../../../uk/org/ury/database/exceptions/MissingCredentialsException.html" title="class in uk.org.ury.database.exceptions">MissingCredentialsException</A></CODE> - if the user class login credentials could not be loaded. +<DD><CODE><A HREF="../../../../uk/org/ury/database/exceptions/ConnectionFailureException.html" title="class in uk.org.ury.database.exceptions">ConnectionFailureException</A></CODE> - if the database backend failed to connect to the database + server.</DL> </DL> <!-- ============ METHOD DETAIL ========== --> @@ -242,17 +238,16 @@ public java.sql.ResultSet <B>executeQuery</B>(java.lang.String sql, <DL> <DD>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. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>sql</CODE> - The SQL statement to execute.<DD><CODE>params</CODE> - A list of parameter objects.<DD><CODE>fetchSize</CODE> - The maximum number of query rows to return. <DT><B>Returns:</B><DD>the set of results from the query. <DT><B>Throws:</B> -<DD><CODE>java.lang.IllegalArgumentException</CODE> - if any of the - parameters is unsupported by the database as - a statement parameter. +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if any of the parameters is unsupported by the database as a + statement parameter. <DD><CODE>java.sql.SQLException</CODE> - if a SQL error occurs.</DL> </DD> </DL> |