Stop referring to JDO PersistenceManager in comments
This commit is contained in:
parent
62b3d7a963
commit
cb60f74556
|
@ -1658,7 +1658,7 @@ public class JdbcTemplate extends JdbcAccessor implements JdbcOperations {
|
|||
return switch (method.getName()) {
|
||||
// Only consider equal when proxies are identical.
|
||||
case "equals" -> (proxy == args[0]);
|
||||
// Use hashCode of PersistenceManager proxy.
|
||||
// Use hashCode of Connection proxy.
|
||||
case "hashCode" -> System.identityHashCode(proxy);
|
||||
// Handle close method: suppress, not valid.
|
||||
case "close" -> null;
|
||||
|
|
|
@ -254,7 +254,7 @@ public class SingleConnectionFactory extends DelegatingConnectionFactory
|
|||
return switch (method.getName()) {
|
||||
// Only consider equal when proxies are identical.
|
||||
case "equals" -> proxy == args[0];
|
||||
// Use hashCode of PersistenceManager proxy.
|
||||
// Use hashCode of Connection proxy.
|
||||
case "hashCode" -> System.identityHashCode(proxy);
|
||||
case "unwrap" -> this.target;
|
||||
// Handle close method: suppress, not valid.
|
||||
|
|
|
@ -522,7 +522,7 @@ final class DefaultDatabaseClient implements DatabaseClient {
|
|||
return switch (method.getName()) {
|
||||
// Only consider equal when proxies are identical.
|
||||
case "equals" -> proxy == args[0];
|
||||
// Use hashCode of PersistenceManager proxy.
|
||||
// Use hashCode of Connection proxy.
|
||||
case "hashCode" -> System.identityHashCode(proxy);
|
||||
case "unwrap" -> this.target;
|
||||
// Handle close method: suppress, not valid.
|
||||
|
|
Loading…
Reference in New Issue