mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-01 23:39:15 +00:00
HHH-12863 SchemaUpdateTest should be skipped with Sybase
This commit is contained in:
parent
a0ca735ae3
commit
77661b2275
@ -40,6 +40,7 @@
|
|||||||
import org.hibernate.cfg.AvailableSettings;
|
import org.hibernate.cfg.AvailableSettings;
|
||||||
import org.hibernate.dialect.Dialect;
|
import org.hibernate.dialect.Dialect;
|
||||||
import org.hibernate.dialect.SQLServerDialect;
|
import org.hibernate.dialect.SQLServerDialect;
|
||||||
|
import org.hibernate.dialect.SybaseDialect;
|
||||||
import org.hibernate.engine.jdbc.env.spi.IdentifierHelper;
|
import org.hibernate.engine.jdbc.env.spi.IdentifierHelper;
|
||||||
import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;
|
import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;
|
||||||
import org.hibernate.tool.hbm2ddl.SchemaExport;
|
import org.hibernate.tool.hbm2ddl.SchemaExport;
|
||||||
@ -82,8 +83,9 @@ public static Collection<String> parameters() {
|
|||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws IOException {
|
public void setUp() throws IOException {
|
||||||
if(SQLServerDialect.class.isAssignableFrom( Dialect.getDialect().getClass() )) {
|
if(SQLServerDialect.class.isAssignableFrom( Dialect.getDialect().getClass() )
|
||||||
// SQLServerDialect stores case-insensitive quoted identifiers in mixed case,
|
|| SybaseDialect.class.isAssignableFrom(Dialect.getDialect().getClass())) {
|
||||||
|
// SQLServerDialect and SybaseDialect stores case-insensitive quoted identifiers in mixed case,
|
||||||
// so the checks at the end of this method won't work.
|
// so the checks at the end of this method won't work.
|
||||||
skipTest = true;
|
skipTest = true;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user