Skip to content

Commit

Permalink
HHH-12863 SchemaUpdateTest should be skipped with Sybase
Browse files Browse the repository at this point in the history
  • Loading branch information
simkam authored and gsmet committed Jul 27, 2018
1 parent a0ca735 commit 77661b2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.dialect.Dialect;
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.JdbcEnvironment;
import org.hibernate.tool.hbm2ddl.SchemaExport;
Expand Down Expand Up @@ -82,8 +83,9 @@ public static Collection<String> parameters() {

@Before
public void setUp() throws IOException {
if(SQLServerDialect.class.isAssignableFrom( Dialect.getDialect().getClass() )) {
// SQLServerDialect stores case-insensitive quoted identifiers in mixed case,
if(SQLServerDialect.class.isAssignableFrom( Dialect.getDialect().getClass() )
|| 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.
skipTest = true;
return;
Expand Down

0 comments on commit 77661b2

Please sign in to comment.