public class DbConfig extends Object
Constructor and Description |
---|
DbConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
autoClear(String tableName,
String timeClo)
清除超限制数量的数据
|
String |
getDbUrl()
获取数据库的jdbc 连接
|
static DbConfig |
getInstance()
单利模式
|
Copyright © 2017–2019. All rights reserved.