HHH-7929 bind batch size to the plural attribute

This commit is contained in:
Strong Liu 2013-01-17 16:25:23 +08:00
parent bdf13987a2
commit 200c304c89
2 changed files with 2 additions and 4 deletions

View File

@ -500,7 +500,7 @@ public void testEmbeddedCompositeProperties() throws HibernateException, SQLExce
}
@Test
@FailureExpected( jiraKey = "unknown" )
// @FailureExpected( jiraKey = "unknown" )
public void testReturnPropertyComponentRename() throws HibernateException, SQLException {
// failure expected because this was a regression introduced previously which needs to get tracked down.
Componentizable componentizable = setupComponentData();
@ -512,7 +512,7 @@ public void testReturnPropertyComponentRename() throws HibernateException, SQLEx
assertEquals(1, list.size());
assertEquals( "flakky comp", ( (Componentizable) list.get(0) ).getComponent().getName() );
assertEquals( componentizable.getId(), ( (Componentizable) list.get(0) ).getId() );
session.clear();
session.delete(componentizable);
session.getTransaction().commit();

View File

@ -42,7 +42,6 @@
import org.hibernate.engine.jdbc.batch.spi.BatchKey;
import org.hibernate.engine.jdbc.spi.JdbcCoordinator;
import org.hibernate.stat.CollectionStatistics;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.Test;
@ -52,7 +51,6 @@
*
* @author Steve Ebersole
*/
@FailureExpectedWithNewMetamodel
public class BatchedManyToManyTest extends BaseCoreFunctionalTestCase {
@Override
public String[] getMappings() {