Jooq列名称案例不敏感
我正在从事一个JOOQ项目,
有什么方法可以在Jooq中制作列名称和表格案例不敏感和引用不敏感的查询。
如果列的名称在引用的大小写中,则如果我查询引用的较低案例列名称,我会遇到错误。与表名相同
I am working on a jooq project ,
Is there any way we can make column names and table names case insensitive and quote insensitive queries in jooq.
If column names are in quoted Upper case ,If I query with quoted lower case column names I am getting error . Same with table name as well
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能正在寻找
settings.renderquotednames
设置,例如,这将从大多数生成的标识符中删除引号,从而使它们在大多数方言中有效地不敏感。当然,与保留单词冲突的标识符合作时,您会遇到问题。
You're probably looking for the
Settings.renderQuotedNames
setting, e.g.This will remove the quoting from most generated identifiers, making them effectively case insensitive in most dialects. Of course, you will run into issues when working with identifiers that conflict with reserved words...