Closed equator8848 closed 8 months ago
Hi @equator8848, please try the latest 5.4.1 version. 4.x version is no longer maintained.
tahnks, @strongduanmu , I need to use 4.x version because we use especial jdbc driver.
SS 5.x can not work together with the especial jdbc driver. 😭
SS 5.x can not work together with the especial jdbc driver. 😭
@strongduanmu @linghengqian
If I use SS jdbc 5.x , I got error because my jdbc driver not implement some method of java.sql.DatabaseMetaData and throw unsupportException.
How can I disable meta check of SS?
is spring.shardingsphere.check.table.metadata.enabled
?
@strongduanmu @linghengqian If I use SS jdbc 5.x , I got error because my jdbc driver not implement some method of java.sql.DatabaseMetaData and throw unsupportException. How can I disable meta check of SS? is
spring.shardingsphere.check.table.metadata.enabled
?
check-table-metadata-enabled
in the YAML file of ShardingSpehre, and the default value of this property is false
on 5.4.2-SNAPSHOT.@strongduanmu @linghengqian If I use SS jdbc 5.x , I got error because my jdbc driver not implement some method of java.sql.DatabaseMetaData and throw unsupportException. How can I disable meta check of SS? is
spring.shardingsphere.check.table.metadata.enabled
?
- Refer to https://shardingsphere.apache.org/document/current/en/user-manual/common-config/props/ .
- There is a property
check-table-metadata-enabled
in the YAML file of ShardingSpehre, and the default value of this property isfalse
on 5.4.2-SNAPSHOT.
I set check-table-metadata-enabled false, but SS still call method of java.sql.DatabaseMetaData. My ss version is 5.1.1
need more info
until it is closed.I found this problem. can not add table name before field in update SQL.
UPDATE flow_task_item_principal SET app_id = ?, task_item_id = ?, flow_node_id = ?, flow_node_name = ?, flow_node_type = ?, task_status = ?, read_status = ?, relational_id = ?, relational_type = ?, relational_attribute = ?, create_by = ?, create_time = ?, update_by = ?, update_time = ?, tenant_id = ? WHERE flow_task_item_principal.tenant_id = 330000000000001 AND del_flag = 0 AND (id = ? AND create_year = ?)
flow_task_item_principal.tenant_id
should be tenant_id
I set check-table-metadata-enabled false, but SS still call method of java.sql.DatabaseMetaData. My ss version is 5.1.1
you may write issues of version 4.1.1 here :https://gitee.com/shardcn/shardingsphere_4.1.1
Which version of ShardingSphere did you use?
4.1.1
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
Actual behavior
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
create_year
is sharding field