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() {
7878 dialect = constructor .newInstance ( new DatabaseMetaDataDialectResolutionInfoAdapter ( connection .getMetaData () ) );
7979 }
8080 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 '"
8282 + jdbcUrl + "' [" + sqle .getMessage () + "]" , sqle );
8383 }
8484 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 );
8686 }
8787 }
8888
You can’t perform that action at this time.
0 commit comments