WallFilter support h2

This commit is contained in:
wenshao
2012-12-01 22:28:58 +08:00
parent 80236a3115
commit 64764c6df4
2 changed files with 2 additions and 2 deletions
@@ -63,7 +63,7 @@ public class WallFilter extends FilterAdapter implements WallFilterMBean {
dbType = JdbcUtils.getDbType(dataSource.getUrl(), null);
}
if (JdbcUtils.MYSQL.equals(dbType)) {
if (JdbcUtils.MYSQL.equals(dbType) || JdbcUtils.H2.equals(dbType)) {
if (config == null) {
config = new WallConfig(MySqlWallProvider.DEFAULT_CONFIG_DIR);
}