mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 09:05:21 +00:00
HHH-18538 Improve database connection info from configured DataSource
This commit is contained in:
parent
8ddb40fa77
commit
46bb5011b5
@ -139,7 +139,7 @@ public boolean supportsAggressiveRelease() {
|
||||
@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…
x
Reference in New Issue
Block a user