File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hibernate-testing/src/main/java/org/hibernate/testing/orm/junit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ static void init() {
78
78
dialect = constructor .newInstance ( new DatabaseMetaDataDialectResolutionInfoAdapter ( connection .getMetaData () ) );
79
79
}
80
80
catch (SQLException sqle ) {
81
- throw new JDBCConnectionException ( "Could not connect to database with JDBC URL: '"
81
+ throw new JDBCConnectionException ( "Could not connect to database with JDBC URL '"
82
82
+ jdbcUrl + "' [" + sqle .getMessage () + "]" , sqle );
83
83
}
84
84
catch (Exception e ) {
85
- throw new HibernateException ( "Could not connect to database with dialect class: " + dialectClass , e );
85
+ throw new HibernateException ( "Could not connect to database with dialect class: " + dialectClass . getName () , e );
86
86
}
87
87
}
88
88
You can’t perform that action at this time.
0 commit comments