[jbosstools-issues] [JBoss JIRA] (JBIDE-11907) import.sql should warn me if I have multiple lines as it seems hibernate does not like that, or is this is hibernate issue?

Jim Tyrrell (JIRA) jira-events at lists.jboss.org
Fri May 18 09:04:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693964#comment-12693964 ] 

Jim Tyrrell commented on JBIDE-11907:
-------------------------------------

That may be true but for a long sql statement this makes it really hard to look at and view and see what is being brought into the database.  For example the MySQL command line client and piping data into the MySQL command supports multiple line inputs.  If this would be possible to be supported it would improve usability.
                
> import.sql should warn me if I have multiple lines as it seems hibernate does not like that, or is this is hibernate issue?
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11907
>                 URL: https://issues.jboss.org/browse/JBIDE-11907
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: hibernate
>            Reporter: Jim Tyrrell
>            Assignee: Dmitry Geraskov
>
> For example this line does not work:
> insert into Event (id, name, description, major, picture, version) values (2,
> 'Rock concert of the decade',
> 'Get ready to rock...',
> true,
> 'http://dl.dropbox.com/u/65660684/640px-Weir%2C_Bob_(2007)_2.jpg',
> It also has bad quotes in it, the tool should give you a better error message on that also.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list