HHH-11171 - Java 8 time types fail Externalization

Restrict test execution to H2 only since it uses a DB-specific syntax
This commit is contained in:
Vlad Mihalcea 2016-10-26 16:00:39 +03:00
parent e469a99c30
commit c1e209a6a7
1 changed files with 3 additions and 0 deletions

View File

@ -14,8 +14,10 @@ import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.hibernate.Session;
import org.hibernate.dialect.H2Dialect;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
import org.hibernate.testing.RequiresDialect;
import org.junit.Test;
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
@ -25,6 +27,7 @@ import static org.junit.Assert.assertNotNull;
/**
* @author Vlad Mihalcea
*/
@RequiresDialect(H2Dialect.class)
public class InstantLiteralTest extends BaseEntityManagerFunctionalTestCase {
@Override