The driver raises a SQLException if it is the right driver to connect to the given URL, but has trouble connecting to the database.
The java.util.Properties argument can be used to passed arbitrary string tag/value pairs as connection arguments.
For HSQL Database Engine, at least "user" and "password" properties must be included in the Properties. From version 1.7.1 two optional properties are supported:
get_column_name
if set to false, a ResultSetMetaData.getColumnName() call will return the user defined label instead of the column name. strict_md
if set to true, some ResultSetMetaData methods return more strict values for compatibility reasons.
Connection
object that represents aconnection to the URL
@exception SQLException if a database access error occurs
|
|