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

Gail Badner (JIRA) noreply at atlassian.com
Wed Aug 17 22:52:02 EDT 2011


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

Gail Badner commented on HHH-6369:
----------------------------------

BasicFormatterImpl is intended to be a utility class to be used internally by Hibernate.

That said, is this related to HHH-3459?

> 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