package org.coner.core.hibernate.dao;

import io.dropwizard.testing.junit.DAOTestRule;

abstract class AbstractDaoTest {
    DAOTestRule.Builder daoTestRuleBuilder;

    AbstractDaoTest() {
        daoTestRuleBuilder = DAOTestRule.newBuilder()
                .setDriver(org.hsqldb.jdbc.JDBCDriver.class)
                .setUrl("jdbc:hsqldb:mem:coner-" + getClass().getSimpleName())
                .setShowSql(true)
                .useSqlComments(true);
    }

    DAOTestRule.Builder getDaoTestRuleBuilder() {
        return daoTestRuleBuilder;
    }
}

package org.coner.core.hibernate.dao;

import io.dropwizard.testing.junit.DAOTestRule;

abstract class AbstractDaoTest {
    DAOTestRule.Builder daoTestRuleBuilder;

    AbstractDaoTest() {
        daoTestRuleBuilder = DAOTestRule.newBuilder()
                .setDriver(org.hsqldb.jdbc.JDBCDriver.class)
                .setUrl("jdbc:hsqldb:mem:coner-" + getClass().getSimpleName())
                .setShowSql(false)
                .useSqlComments(true);
    }

    DAOTestRule.Builder getDaoTestRuleBuilder() {
        return daoTestRuleBuilder;
    }
}

Disable SQL logging from DAO tests
Disable SQL logging from DAO tests

Was polluting the Travis CI logs
