Search in sources :

Example 1 with SqlServerDataBase

use of io.vertigo.database.impl.sql.vendor.sqlserver.SqlServerDataBase in project vertigo by KleeGroup.

the class AbstractSqlDialectTest method testInsertQuery.

@Test
public void testInsertQuery() {
    final SqlDialect sqlDialect = new SqlServerDataBase().getSqlDialect();
    final String insertQuery = sqlDialect.createInsertQuery("ID", Collections.singletonList("TITLE"), "SEQ_", "MOVIE");
    Assert.assertEquals(getExpectedInsertQuery(), insertQuery);
}
Also used : SqlServerDataBase(io.vertigo.database.impl.sql.vendor.sqlserver.SqlServerDataBase) SqlDialect(io.vertigo.database.sql.vendor.SqlDialect) Test(org.junit.Test)

Aggregations

SqlServerDataBase (io.vertigo.database.impl.sql.vendor.sqlserver.SqlServerDataBase)1 SqlDialect (io.vertigo.database.sql.vendor.SqlDialect)1 Test (org.junit.Test)1