Add Setting to influence parameter rendering (indexed, named, inlined) #2414

Closed
lukaseder opened this Issue Apr 26, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@lukaseder
Owner

lukaseder commented Apr 26, 2013

The current way to render named parameters is a bit cumbersome:

String sql = create.renderNamedParams(query);

As documented here:
http://www.jooq.org/doc/3.0/manual/sql-building/bind-values/named-parameters/

It might be nice to be able to generally render named parameters through a Setting

lukaseder added a commit that referenced this issue May 3, 2013

[#2414] [#2436] [#2437] Added ParamType
- [#2414] Add Setting to influence parameter rendering (indexed,
named, inlined)
- [#2436] Add Query.getSQL(ParamType) and deprecate
Query.getSQL(boolean)
- [#2437] Add RenderContext.paramType() and deprecate
RenderContext.inline() and .namedParams()

@lukaseder lukaseder closed this May 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment