[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3198) Creation of New Hibernate Configuration file happens without encoding.

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Mon Nov 17 05:33:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dima Geraskov updated JBIDE-3198:
---------------------------------

    Attachment: 3198.txt


This patch for hibernate tools.
It escapes (<,>) speciale characters from xml string.
Not shure that we need to escape the rest (',",&).
I can do this transformation in the wizards method, but I think that it is right to do it in the exporter.
Max, could you comment this and apply patch if you agree?

> Creation of New Hibernate Configuration file happens without encoding.
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-3198
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3198
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.0.0.cr1
>            Reporter: Anton Klimkovich
>            Assignee: Dima Geraskov
>         Attachments: 3198.txt
>
>
> EXECUTE: New -> Hibernate Configuration file 
> EXECUTE: Set DB Dialect (HSQL) 
> EXECUTE: Set Driver Class (org.hsqldb.jdbcDriver) 
> EXECUTE: set Connection Url (jdbc:hsqldb:hsql://<host> 
> EXECUTE: Press Finish 
> ASSERT:    Hibernate.cfg.xml should be opened with encoding text (instead of '<' should be &lt; - Example : jdbc:hsqldb:hsql://&lt;host&gt; )
> FAILURE:   Creation of New Hibernate Configuration file happens without encoding.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list