HHH-7446 bug-fix

This commit is contained in:
Strong Liu 2012-08-06 13:08:24 +08:00
parent 8b9f171a03
commit c9d6d61adf
2 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ import org.junit.Test;
public class HibernateAnnotationMappingTest extends BaseUnitTestCase { public class HibernateAnnotationMappingTest extends BaseUnitTestCase {
@Test @Test
@TestForIssue( jiraKey = "HHH-5281" ) @TestForIssue( jiraKey = "HHH-7446" )
public void testUniqueConstraintAnnotationOnNaturalIds() throws Exception { public void testUniqueConstraintAnnotationOnNaturalIds() throws Exception {
Configuration configuration = new Configuration(); Configuration configuration = new Configuration();
configuration.setProperty( Environment.HBM2DDL_AUTO, "create-drop" ); configuration.setProperty( Environment.HBM2DDL_AUTO, "create-drop" );