[hibernate-issues] [Hibernate-JIRA] Created: (HV-503) cann't format some special sql in sometimes

xu (JIRA) noreply at atlassian.com
Mon Jun 27 07:27:53 EDT 2011


cann't format some special sql in sometimes
-------------------------------------------

                 Key: HV-503
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-503
             Project: Hibernate Validator
          Issue Type: Bug
          Components: engine
    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.
-
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