Hibernate plugin generates incorrect DTD for Hibernate mapping files and the
configuration for Hibernate 3.6
------------------------------------------------------------------------------------------------------------
Key: XDP-250
URL: http://jira.codehaus.org/browse/XDP-250
Project: XDoclet 2 Plugins
Issue Type: Improvement
Components: hibernate
Affects Versions: 1.0.6
Environment: Linux on Intel 32-bit
Reporter: Lukasz Wiechec
Priority: Minor
Fix For: 1.0.6
Attachments: xdoclet-plugin-update-to-Hibernate-3.6.patch
(The details about migration to 3.6 version of Hibernate are here :
http://community.jboss.org/wiki/HibernateCoreMigrationGuide36 . Look at point 2)
Although not fatal to the generated Hibernate mappings (Hibernate 3.6 will read
the mappings but complain about the DTD) the warning messages in the logs are
quite ugly.
I have tested with my simple configuration that changing the hard-coded strings
for the DTD in Java classes and Jelly template files fixes the problem.
What is done is to implement a more intelligent mechanism that would allow to
generate new (Hibernate >= 3.6) and old configuration files.
A very simple patch i attached (against 1.0.6-SNAPSHOT version of the plugins)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest