[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?

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Fri May 18 09:16:18 EDT 2012


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

Dmitry Geraskov commented on JBIDE-11907:
-----------------------------------------

I agree with you, guys. IMO statements should be separated with ';' but not new line.
                
> 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