[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2403) Support multi-line import.sql files

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Feb 14 09:39:33 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29525 ] 

Max Rydahl Andersen commented on HHH-2403:
------------------------------------------

if we break every existing hibernate 3.2.x users existing import.sql it is *not* something we can put in. Then it would wait for 3.3.x.

A thought would be If the parser would be able to just read the whole thing and scan for ; before newlines and then decide if multiline execution is needed or not then it would work backwards compatible enough I would think.

> 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
>         Attachments: org.hibernate.tool.hbm2ddl.SchemaExport_patch.txt
>
>
> 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