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

vitali yemialyanchyk (JIRA) noreply at atlassian.com
Mon Feb 11 08:59:33 EST 2008


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

vitali yemialyanchyk updated HHH-2403:
--------------------------------------

    Attachment: org.hibernate.tool.hbm2ddl.SchemaExport_patch.txt

This simple patch fix the issue - just replace the function -> importScript to version from org.hibernate.tool.hbm2ddl.SchemaExport_patch.txt

> 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