HHH-18538 Improve database connection info from configured DataSource
This commit is contained in:
parent
8ddb40fa77
commit
46bb5011b5
|
@ -139,7 +139,7 @@ public class DatasourceConnectionProviderImpl implements ConnectionProvider, Con
|
||||||
@Override
|
@Override
|
||||||
public DatabaseConnectionInfo getDatabaseConnectionInfo(Dialect dialect) {
|
public DatabaseConnectionInfo getDatabaseConnectionInfo(Dialect dialect) {
|
||||||
return new DatabaseConnectionInfoImpl(
|
return new DatabaseConnectionInfoImpl(
|
||||||
"Connecting through datasource" + dataSourceJndiName,
|
"Connecting through datasource '" + (dataSourceJndiName != null ? dataSourceJndiName : dataSource) + "'",
|
||||||
null,
|
null,
|
||||||
dialect.getVersion(),
|
dialect.getVersion(),
|
||||||
null,
|
null,
|
||||||
|
|
Loading…
Reference in New Issue