[
https://issues.apache.org/jira/browse/DBUTILS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130073#comment-14130073
]
Gary Gregory commented on DBUTILS-120:
--------------------------------------
So your format is really a comment of {{-SomeString:}}.
What about something that has less chance to clash with other comments like
{{Query:SomeString}}:
{noformat}
-- Query:queryName1
SELECT * FROM "APP"."TABLE1";
-- Query:queryName2
SELECT column1, column2 FROM "APP"."TABLE2" WHERE column1=?
{noformat}
> Add loading from SQL file to QueryLoader
> ----------------------------------------
>
> Key: DBUTILS-120
> URL: https://issues.apache.org/jira/browse/DBUTILS-120
> Project: Commons DbUtils
> Issue Type: Improvement
> Reporter: Aleksei Kovura
> Labels: patch
> Attachments: dbutilsQueryLoader.diff
>
>
> I propose sql file in the following format:
> ---queryName1:
> SELECT * FROM "APP"."TABLE1";
> ---queryName2:
> SELECT column1, column2 FROM "APP"."TABLE2" WHERE column1=?;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)