Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.21.0
-
Component/s: None
-
Labels:None
-
Estimated Complexity:Unknown
Description
PgEventEndpoint tries to cast connections obtained via a DataSource to PGConnection. In some environments where the DataSource is managed by a container, the connection object may be a wrapper for the original connection. We should check if the connection is wrapped and do an unwrap to avoid ClassCastExceptions.