当前位置:网站首页>Bee常用配置
Bee常用配置
2022-06-29 23:41:00 【abckingaa】
Bee常用配置
bee.db.dbName=MySQL
bee.db.driverName = com.mysql.jdbc.Driver
#bee.db.url =jdbc:mysql://localhost:3306/bee?characterEncoding=UTF-8
bee.db.url =jdbc:mysql://127.0.0.1:3306/bee?characterEncoding=UTF-8&useSSL=false
bee.db.username = root
bee.db.password =
#常用配置:
#开启查询结果字段类型转换,将支持更多类型
bee.osql.openFieldTypeHandler=true
#如果允许删除和更新整张表,需要开启
#bee.osql.notDeleteWholeRecords=false
#bee.osql.notUpdateWholeRecords=false
#命名转换配置, 1 : order_no<-->orderNo(DB<-->Java),
#2: ORDER_NO<-->orderNo(DB<-->Java), 3: original 原样保留
bee.osql.naming.translateType=1
#日志打印配置
#打印日志
bee.osql.showSQL=true
#显示参数的类型
bee.osql.showSql.showType=true
#生成可执行的sql(不使用占位符,可直接运行,方便开发阶段调试)
bee.osql.showSql.showExecutableSql=true
#日志类型配置, fileLogger 输出到文件; systemLogger 控制台输出
#log4j>slf4j>log4j2>androidLog>systemLogger>fileLogger>noLogging>jdkLog>commonsLog
bee.osql.loggerType=systemLogger
#主键id生成器
#bee.distribution.genid开头的配置
#多数据源时配置 #V1.11 多数据源时,可以在生成Suid等对象时指定数据源
bee.dosql.multiDS.enable=true
#是否同时使用多种不同的数据库,比如同时用mysql,oracle
#bee.dosql.multiDS.differentDbType=true
#默认数据源
#bee.dosql.multiDS.defalutDS=ds1
# 1:only r/w, one main and more sub-database; 2:only more database (table name is same)
#bee.dosql.multiDS.type=1
#多数据源,java代码配置方式:
#HoneyConfig.getHoneyConfig().multiDS_enable = true;
#HoneyConfig.getHoneyConfig().multiDS_type = 1;
#HoneyConfig.getHoneyConfig().multiDS_differentDbType=true;
#HoneyConfig.getHoneyConfig().multiDS_defalutDS = "ds1";
边栏推荐
- FPGA开发(2)——IIC通信
- [leetcode] a number that appears only once [136]
- Matlab exercises -- program control process exercise
- matplotlib matplotlib中plt.hist()参数解释
- High performance and high availability computing architecture of "Weibo comments"
- 绿树公司官方网站
- MetaQ集群安裝測試
- Sword finger offer 38 Arrangement of strings
- label問題排查:打不開標注好的圖像
- 基金的估值,费用,会计核算
猜你喜欢

LC:最大子数组和

软件测试 接口测试 Postman测试工具 接口测试的流程 执行接口测试 接口关联 环境变量和全局变量 内置动态参数以及自动有的动态参数

按头安利!好看又实用的电机 SolidWorks模型素材看这里

二叉搜索树 230. 二叉搜索树中第K小的元素 1038. 从二叉搜索树到更大和树

Applet plug-in access, development and precautions

雲和恩墨蓋國强,識別它、抓住它,在國產數據庫沸騰以前

均值、方差、标准差、协方差的概念及意义

Software testing interface testing JMeter 5.5 installation tutorial

After working in the software development industry for six years, I changed my ideas in those years

按头安利 好看又实用的点胶机 SolidWorks模型素材看这里
随机推荐
Gradle连载7-配置签名
constexpr 函数
CE second operation
Wechat applet: big red festive UI guessing lantern riddles is also called guessing character riddles
基金的利润分配与税收
“微博评论”的高性能高可用计算架构
After working in the software development industry for six years, I changed my ideas in those years
新钛云服荣膺“2022爱分析 · IT运维厂商全景报告”云管理平台CMP 代表厂商!...
M1笔记本居家办公的痛点及解决方案 | 社区征文
[译]在软件开发行业工作 6 年后,那些年我曾改过的观念
Cacti关于spine轮询的设置
Leetcode(680)——验证回文字符串 Ⅱ
matplotlib matplotlib可视化之柱状图plt.bar()
剑指 Offer 14- II. 剪绳子 II
FPGA开发(2)——IIC通信
111. simple chat room 14: chat room client
Overseas digital authentication service provider advance AI was selected into the "2022 brand sea Service Market Research Report" of equalocean
Collection! Have you ever used these tools to improve programmer productivity?
Software testing interface testing postman testing tool interface testing process execution interface testing interface associated environment variables and global variables built-in dynamic parameter
Label Troubleshooting: unable to open the marked image