Pull request submitted: https://github.com/hibernate/hibernate-core/pull/211
Fill free to comment Steve :). Maybe introducing a new Service is not
necessary. Anyway, it can be quickly removed.
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
On Mon 07 Nov 2011 10:32:33 AM CST, Łukasz Antoniak wrote:
>
> The whole idea of supporting multiline statements is that users would
> like to execute the scripts they already have (and for example execute
> in SQL*Plus for production) without applying extra modifications. The
> "continuation" symb
Thanks Steve for your replay.
The whole idea of supporting multiline statements is that users would
like to execute the scripts they already have (and for example execute
in SQL*Plus for production) without applying extra modifications. The
"continuation" symbol/operator would be useless for them.
No! That is not a good idea. It introduces unnecessary loss of
backwards compatibility.
Another option that is backwards compatible is to instead handle
multi-line commands specially by introducing a "continuation"
symbol/operator. Think `\` on *nix. The idea being that a line ending
with
Welcome!
Last time I have been trying to improve the way that Hibernate extracts
statements from "import.sql" script. My intention was to support
multiline SQL instructions (HHH-2403), quoted strings, multiline
comments etc. After developing quite simple ANTLR-based parser, I have
realized tha