[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1099) Custom <data-object> commands get reformatted by hbm2ddl

Vitali Yemialyanchyk (JIRA) noreply at atlassian.com
Wed Jan 21 12:08:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32172#action_32172 ] 

Vitali Yemialyanchyk commented on HBX-1099:
-------------------------------------------

do you set hbm2ddl -> format option in true? 

> Custom <data-object> commands get reformatted by hbm2ddl
> --------------------------------------------------------
>
>                 Key: HBX-1099
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1099
>             Project: Hibernate Tools
>          Issue Type: Bug
>            Reporter: Fol De Rol
>            Priority: Minor
>
> When there's a custom create/drop commands defined using elements like {{<hibernate-mapping> <database-object> <create><![CDATA[....}}, in the output SQL script, it appears reformatted in one line. I have a large (200+ lines) DDL command for a view which just collapses to a completely unreadable expression. I guess, such expressions, even more so marked as CDATA, should remain intact.

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list