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