ColonStatementLexer cannot handle JDBC's function escape syntax
---------------------------------------------------------------
Key: JDBI-14
URL:
http://jira.codehaus.org/browse/JDBI-14 Project: jDBI
Issue Type: Bug
Components: Core
Reporter: Thomas Dudziak
Assignee: Brian McCallister
See e.g.
http://db.apache.org/derby/docs/10.4/ref/rrefjdbc88908.html for examples. Things like
SELECT {fn TIMESTAMPADD( SQL_TSI_MONTH, created_at, CURRENT_TIMESTAMP)} FROM sometable
will error with:
Caused by: line 1:63: unexpected char: '{'
at org.skife.jdbi.rewriter.colon.ColonStatementLexer.nextToken(ColonStatementLexer.java:121)
at org.skife.jdbi.v2.ColonPrefixNamedParamStatementRewriter.rewrite(ColonPrefixNamedParamStatementRewriter.java:79)
... 8 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email