Connection function ( String arg0 , Properties arg1 ) { if ( ! acceptsURL ( arg0 ) ) { return null ; } String loc0 = arg0 . substring ( sStartURL . length ( ) ) ; return new jdbcConnection ( loc0 , arg1 ) ; }
attempts to make a database connection to the given url . the driver returns `` null '' if it realizes it is the wrong kind of driver to connect to the given url . this will be common , as when the jdbc driver manager is asked to connect to a given url it passes the url to each loaded driver in turn . 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 . concode_field_sep int REVISION concode_elem_sep String sStartURL concode_elem_sep String VERSION concode_elem_sep int MINOR concode_elem_sep String PRODUCT concode_elem_sep int MAJOR concode_field_sep int getMajorVersion concode_elem_sep int getMinorVersion concode_elem_sep boolean jdbcCompliant concode_elem_sep boolean acceptsURL concode_elem_sep DriverPropertyInfo[] getPropertyInfo