add testcase

This commit is contained in:
wenshao
2012-07-10 14:18:18 +08:00
parent 9559a638d9
commit b277367cea
6 changed files with 139 additions and 0 deletions
@@ -54,9 +54,11 @@ public class SpringFilterTest extends TestCase {
}
{
Connection conn = dataSource.getConnection();
conn.setAutoCommit(false);
Statement stmt = conn.createStatement();
stmt.execute("insert into sequence_seed (value ,name) values (0, 'druid-spring-test')");
stmt.close();
conn.commit();
conn.close();
}