[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5596) org.hibernate.test.annotations.onetoone.OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin() fails on postgresql

Strong Liu (JIRA) noreply at atlassian.com
Sat Sep 25 06:40:57 EDT 2010


org.hibernate.test.annotations.onetoone.OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin() fails on postgresql
--------------------------------------------------------------------------------------------------------------------------------

                 Key: HHH-5596
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5596
             Project: Hibernate Core
          Issue Type: Bug
          Components: testsuite
            Reporter: Strong Liu
            Assignee: Strong Liu
            Priority: Minor
             Fix For: 3.6.x


this is caused by the org.hibernate.test.annotations.onetoone.JoinCounter.onPrepareStatement(String).
when the id generator strategy is "sequence", then "select nextval ('hibernate_sequence')" is issued before the actual select sql, this causes the test fail.

-- 
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