Allow DDL comment within timestamp (patch included)
---------------------------------------------------
Key: HHH-3327
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3327
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.6
Reporter: Paul Benedict
Attachments: timestamp-comment.patch.txt
In my corporate environment, the logical names of tables and columns go into our Hibernate
mappings. The logical names are represented in DDL comments via the <comment>
sub-elements. Unfortunately, the only columns we currently cannot comment are on
<timestamp> (element, not type) columns.
The provided patch adds the optional "comment" sub-element to
"timestamp" element. I made the following change to Hibernate 3.2.x, ran
HBM2DDL, and Hibernate Tools worked as expected. The patch is against the DTD in the svn
trunk.
<!ELEMENT timestamp (meta*,comment?)>
If possible, please consider this for 3.3. Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira