You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#default implement translate type. 1 : order_no<-->orderNo(DB<-->Java), 2: ORDER_NO<-->orderNo(DB<-->Java), #3: original, 4 : DbUpperAndJavaLower(since 1.17), ORDER_NO<-->order_no(DB<-->Java)
#if want to use other naming rule, you can define a new class implements NameTranslate
#default value is :1
bee.osql.naming.translateType=3
原样输出,可以使用3: original
即:
bee.osql.naming.translateType=3
相关issue: #8
bee 版本:2.2
代码中的设置方式为:
由于我们这边数据表的表名和字段是驼峰式命名,正确的查询sql(示例)为
在select查询时会不转换字段名称,但是bee在执行insert时,生成的的sql是:
请问应该如何解决这种问题
The text was updated successfully, but these errors were encountered: