[jOOQ/jOOQ#12998] DetachedException regression
This commit is contained in:
parent
67ad046c29
commit
1e800f53bc
@ -82,7 +82,7 @@ final class ParsingConnection extends DefaultConnection {
|
||||
effectiveParamType(configuration.settings()) == INLINED
|
||||
));
|
||||
|
||||
if (getDelegate() == null)
|
||||
if (((SettingsEnabledConnection) getDelegate()).getDelegate() == null)
|
||||
if (configuration.connectionFactory() instanceof NoConnectionFactory)
|
||||
throw new DetachedException("ConnectionProvider did not provide a JDBC Connection");
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user