Skip to content

Instantly share code, notes, and snippets.

@HennIdan
Created July 26, 2016 15:51
Show Gist options
  • Save HennIdan/0dc98b9bf543c6fc8d61ca4f3d02fd62 to your computer and use it in GitHub Desktop.
Save HennIdan/0dc98b9bf543c6fc8d61ca4f3d02fd62 to your computer and use it in GitHub Desktop.
if {
// [#1145] Bind variables only for true prepared statements
// [#2414] Even if parameters are inlined here, child
// QueryParts may override this behaviour!
executePreparedStatements(c.settings()) &&
// [#1520] Renderers may enforce static statements, too
!Boolean.TRUE.equals(ctx.data(DATA_FORCE_STATIC_STATEMENT))) {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment