MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / sqlBind

Method sqlBind

jOOQ/src/main/java/org/jooq/impl/AbstractBinding.java:116–118  ·  view source on GitHub ↗

Generate the SQL string for a bind variable placeholder. In almost all cases, this can just be a "?" string. In some cases, the placeholder needs to be cast to a vendor specific data type, such as in PostgreSQL, "?::tsvector".

(BindingSQLContext<U> ctx)

Source from the content-addressed store, hash-verified

114 * PostgreSQL, "?::tsvector".
115 */
116 protected void sqlBind(BindingSQLContext<U> ctx) throws SQLException {
117 ctx.render().sql(ctx.variable());
118 }
119
120 // -------------------------------------------------------------------------
121 // Empty base implementations for stored procedure OUT parameter support:

Callers 1

sqlMethod · 0.95

Calls 3

sqlMethod · 0.65
renderMethod · 0.65
variableMethod · 0.65

Tested by

no test coverage detected