public final class HoneyConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getDbName() |
String |
getDriverName() |
static HoneyConfig |
getHoneyConfig() |
String |
getPassword() |
String |
getSchemaName() |
String |
getUrl() |
String |
getUsername() |
void |
resetBeeProperties(String folderPath)
使用指定路径的bee.properties进行配置.set the folder path of bee.properties
若使用第三方框架管理配置,不建议在此处重置配置.
|
void |
setDbName(String dbName) |
void |
setDriverName(String driverName) |
void |
setPassword(String password) |
void |
setSchemaName(String schemaName) |
void |
setUrl(String url) |
void |
setUsername(String username) |
public int type
public String active
public String loggerType
public String sqlLoggerLevel
public String systemLoggerLevel
public boolean logDonotPrintLevel
public String dateFormat
public String sqlKeyWordCase
public boolean notCatchModifyDuplicateException
public boolean notShowModifyDuplicateException
public String lang
public boolean openDefineColumn
public boolean openFieldTypeHandler
public boolean showSQL
public boolean showSql_showExecutableSql
public boolean showSql_donotPrintCurrentDate
public boolean naming_toLowerCaseBefore
public int naming_translateType
public String naming_entity2tableMappingList
public int cache_timeout
public Double cache_startDeleteRate
public int cache_prototype
public boolean cache_useLevelTwo
public boolean cache_levelOneTolevelTwo
public int cache_levelTwoTimeout
public String cache_levelTwoEntityList
public String cacheRedis_host
public Integer cacheRedis_port
public String cacheRedis_password
public Integer cacheRedis_connectionTimeout
public Integer cacheRedis_soTimeout
public Integer cacheRedis_database
public String cacheRedis_clientName
public boolean cacheRedis_ssl
public int genid_workerid
public int genid_generatorType
public boolean genid_forAllTableLongId
public boolean genid_replaceOldId
public String genid_includesEntityList
public String genid_excludesEntityList
public long pearFlowerId_tolerateSecond
public boolean pearFlowerId_useHalfWorkId
public long pearFlowerId_switchWorkIdTimeThreshold
public int pearFlowerId_randomNumBound
public boolean multiDS_enable
public int multiDS_type
public String multiDS_defalutDS
public String multiDS_writeDB
public String multiDS_readDB
public int multiDS_rDbRouteWay
public String multiDS_matchEntityClassPath
public String multiDS_matchTable
public boolean multiDS_differentDbType
public static HoneyConfig getHoneyConfig()
public void resetBeeProperties(String folderPath)
folderPath - bee.properties所在的路径. the folder path of bee.propertiespublic String getDbName()
public void setDbName(String dbName)
public void setDriverName(String driverName)
public void setUrl(String url)
public void setUsername(String username)
public void setPassword(String password)
public String getDriverName()
public String getUrl()
public String getUsername()
public String getPassword()
public String getSchemaName()
public void setSchemaName(String schemaName)
Copyright © 2022. All rights reserved.