[#5174] NullPointerException when calling Query.getSQL() on an unattached Query
This commit is contained in:
parent
2b4abee87c
commit
b6b197c678
@ -541,7 +541,7 @@ abstract class AbstractQuery extends AbstractQueryPart implements Query, Attacha
|
||||
*/
|
||||
@Override
|
||||
public final String getSQL() {
|
||||
return getSQL(getParamType(configuration().settings()));
|
||||
return getSQL(getParamType(Tools.settings(configuration())));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user