[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2403) Support multi-line import.sql files
Christian Bauer (JIRA)
noreply at atlassian.com
Sun Apr 22 09:14:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26790 ]
Christian Bauer commented on HHH-2403:
--------------------------------------
Furthermore, popular databases (MySQL...) don't like // as a line comment. We need to support # and --. This is useful because I want to distribute my import.sql after development with some initial data for my application - without changing the comments from Java to SQL.
> Support multi-line import.sql files
> -----------------------------------
>
> Key: HHH-2403
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2403
> Project: Hibernate3
> Issue Type: Improvement
> Components: core
> Affects Versions: 3.2.2
> Reporter: Christian Bauer
>
> I leave this as Major, because it most likely breaks all existing import.sql's.
> The statement delimiter in import.sql is currently a newline. We need to change that to:
> - delimiter is semicolon, so users can copy/paste stuff from and to SQL consoles
> - newline is a real newline, allows users to enter newlines into larger text columns without a 5000 character wide line
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list