[
https://jira.jboss.org/jira/browse/JBIDE-3198?page=com.atlassian.jira.plu...
]
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 < - Example : jdbc:hsqldb:hsql://<host> )
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