[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6369) cann't format some special sql in sometimes

xu (JIRA) noreply at atlassian.com
Fri Aug 19 07:22:04 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43278#comment-43278 ] 

xu commented on HHH-6369:
-------------------------

@Gail Badner No.Because those bug are in different version and the class name are different.But at the same time,the content of BasicFormatterImpl and Formatter class are almost in the same way.

> cann't format some special sql in sometimes
> -------------------------------------------
>
>                 Key: HHH-6369
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6369
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.0.0.Beta2
>         Environment: jdk 5, windows xp
>            Reporter: xu
>         Attachments: test.rar
>
>
> when I use BasicFormatterImpl to format some special sql, a exception will be throw.And the sql is certainly right. It can be query in our database.The class I'm using is BasicFormatterImpl.And I format the sql like this:
> System.out.println(new BasicFormatterImpl().format(str));
> The testcase is in the attachment.Thanks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list