We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.5
我有一个A表(A库),B表(B库),查询时A表left join B库.B表 on ....
当在跨数据库中查询时,指定了@TableName注解(库名.表名),我注意到在生成jsqlparser.Table对象时,setName方法时获取到数组partItems,但是他默认取了下标为0的值去setName(默认表明是下标为0),那么在搭配多租户框架时,实际添加多租户id时由于无法获取正确的库名,导致添加的多租户id有问题
目前这个问题可以通过继承TenantLineHandler类中的ignoreTable去解决,但是总归很别扭,希望能看看这个问题
No response
The text was updated successfully, but these errors were encountered:
jsqlparser版本后面差异很大,升级最新版本看看,有问题再提供复现工程或者sql样例
Sorry, something went wrong.
No branches or pull requests
确认
当前程序版本
3.5.5
问题描述
我有一个A表(A库),B表(B库),查询时A表left join B库.B表 on ....
当在跨数据库中查询时,指定了@TableName注解(库名.表名),我注意到在生成jsqlparser.Table对象时,setName方法时获取到数组partItems,但是他默认取了下标为0的值去setName(默认表明是下标为0),那么在搭配多租户框架时,实际添加多租户id时由于无法获取正确的库名,导致添加的多租户id有问题
目前这个问题可以通过继承TenantLineHandler类中的ignoreTable去解决,但是总归很别扭,希望能看看这个问题
详细堆栈日志
No response
The text was updated successfully, but these errors were encountered: