Search in sources :

Example 1 with ColonPrefixSqlParser

use of org.jdbi.v3.core.statement.ColonPrefixSqlParser in project jdbi by jdbi.

the class TestUseSqlParser method setUp.

@Before
public void setUp() throws Exception {
    Jdbi db = dbRule.getJdbi();
    // this is the default, but be explicit for sake of clarity in test
    db.setSqlParser(new ColonPrefixSqlParser());
    handle = db.open();
}
Also used : Jdbi(org.jdbi.v3.core.Jdbi) ColonPrefixSqlParser(org.jdbi.v3.core.statement.ColonPrefixSqlParser) Before(org.junit.Before)

Aggregations

Jdbi (org.jdbi.v3.core.Jdbi)1 ColonPrefixSqlParser (org.jdbi.v3.core.statement.ColonPrefixSqlParser)1 Before (org.junit.Before)1