create connection with database using jdbc . concode_field_sep Properties connectionProperties concode_elem_sep Logger logger concode_elem_sep String databaseDriver concode_elem_sep Connection connection concode_elem_sep String databaseUrl concode_field_sep Connection getConnection concode_elem_sep void setPassword concode_elem_sep void disconnect concode_elem_sep void setDatabaseDriver concode_elem_sep void setConnectionProperties concode_elem_sep void setConnectionProperties concode_elem_sep void setDatabaseUrl concode_elem_sep void setUserName concode_elem_sep boolean isConnected concode_elem_sep String getDatabaseDriver concode_elem_sep Properties getConnectionProperties concode_elem_sep String getDatabaseUrl
void function ( ) { try { Class . forName ( databaseDriver ) . newInstance ( ) ; connection = DriverManager . getConnection ( databaseUrl , connectionProperties ) ; logger . debug ( "srini_string" ) ; } catch ( Throwable loc0 ) { DTThrowable . rethrow ( loc0 ) ; } }