merge master
This commit is contained in:
parent
edffc0063c
commit
dba8d835f5
|
@ -50,6 +50,7 @@ import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.hibernate.testing.FailureExpected;
|
import org.hibernate.testing.FailureExpected;
|
||||||
|
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
|
||||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||||
|
|
||||||
import static org.hibernate.testing.junit4.ExtraAssertions.assertTyping;
|
import static org.hibernate.testing.junit4.ExtraAssertions.assertTyping;
|
||||||
|
@ -173,6 +174,7 @@ public class JpaTckUsageTest extends BaseUnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@FailureExpectedWithNewMetamodel
|
||||||
public void testSettingInParamDefinedOnNamedStoredProcedureQuery() {
|
public void testSettingInParamDefinedOnNamedStoredProcedureQuery() {
|
||||||
EntityManager em = entityManagerFactory.createEntityManager();
|
EntityManager em = entityManagerFactory.createEntityManager();
|
||||||
em.getTransaction().begin();
|
em.getTransaction().begin();
|
||||||
|
|
|
@ -147,7 +147,7 @@ public abstract class BaseCoreFunctionalTestCase extends BaseFunctionalTestCase
|
||||||
|
|
||||||
@AfterClassOnce
|
@AfterClassOnce
|
||||||
@SuppressWarnings( {"UnusedDeclaration"})
|
@SuppressWarnings( {"UnusedDeclaration"})
|
||||||
private void releaseSessionFactory() {
|
public void releaseSessionFactory() {
|
||||||
if ( getSessionFactoryBuilder() != null ) {
|
if ( getSessionFactoryBuilder() != null ) {
|
||||||
getSessionFactoryBuilder().destory();
|
getSessionFactoryBuilder().destory();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue