HHH-7767 - JoinWalker creates ".." substring in association path

This commit is contained in:
Steve Ebersole 2012-11-08 11:56:11 -06:00
parent 9f462834da
commit 209763faa8
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,8 @@ import org.junit.Test;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import static org.junit.Assert.assertEquals;
@ -67,6 +69,7 @@ public class IdManyToOneTest extends BaseCoreFunctionalTestCase {
}
@Test
@TestForIssue( jiraKey = "HHH-7767" )
public void testCriteriaRestrictionOnIdManyToOne() {
Session s = openSession();
s.beginTransaction();