mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add testcase
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user