enable a test on H2
This commit is contained in:
parent
e930e7c68d
commit
39ae0bf264
|
@ -5,7 +5,6 @@ import jakarta.persistence.Entity;
|
||||||
import jakarta.persistence.Id;
|
import jakarta.persistence.Id;
|
||||||
import org.hibernate.annotations.GeneratedColumn;
|
import org.hibernate.annotations.GeneratedColumn;
|
||||||
import org.hibernate.dialect.DerbyDialect;
|
import org.hibernate.dialect.DerbyDialect;
|
||||||
import org.hibernate.dialect.H2Dialect;
|
|
||||||
import org.hibernate.dialect.HSQLDialect;
|
import org.hibernate.dialect.HSQLDialect;
|
||||||
import org.hibernate.dialect.PostgreSQLDialect;
|
import org.hibernate.dialect.PostgreSQLDialect;
|
||||||
import org.hibernate.dialect.SybaseASEDialect;
|
import org.hibernate.dialect.SybaseASEDialect;
|
||||||
|
@ -25,7 +24,6 @@ import static org.junit.Assert.assertEquals;
|
||||||
*/
|
*/
|
||||||
@DomainModel(annotatedClasses = GeneratedAlwaysTest.OrderLine.class)
|
@DomainModel(annotatedClasses = GeneratedAlwaysTest.OrderLine.class)
|
||||||
@SessionFactory
|
@SessionFactory
|
||||||
@SkipForDialect(dialectClass = H2Dialect.class) // 'generated always' not supported until H2 2.0
|
|
||||||
@SkipForDialect(dialectClass = HSQLDialect.class)
|
@SkipForDialect(dialectClass = HSQLDialect.class)
|
||||||
@SkipForDialect(dialectClass = DerbyDialect.class)
|
@SkipForDialect(dialectClass = DerbyDialect.class)
|
||||||
@SkipForDialect(dialectClass = SybaseASEDialect.class)
|
@SkipForDialect(dialectClass = SybaseASEDialect.class)
|
||||||
|
|
Loading…
Reference in New Issue