You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/27 08:11:54 UTC

[GitHub] [shardingsphere] SHADOW-LI0327 commented on issue #21119: org.springframework.dao.InvalidDataAccessApiUsageException: Insert statement does not support sharding table routing to multiple data nodes.; nested exception is java.lang.IllegalStateException: Insert statement does not support sharding table routing to multiple data nodes.

SHADOW-LI0327 commented on issue #21119:
URL: https://github.com/apache/shardingsphere/issues/21119#issuecomment-1293154411

   same issue
   ```yam
   - !SHARDING
       tables:
         t_order: 
           actualDataNodes: ds_${0..1}.t_order_${1..12}
           keyGenerateStrategy:
             column: id
             keyGeneratorName: snowflake
       defaultDatabaseStrategy:
         standard:
           shardingColumn: id
           shardingAlgorithmName: database-inline
       defaultTableStrategy: 
         standard:
           shardingColumn: create_time
           shardingAlgorithmName: date-interval
   ```
   if `actualDataNodes` set `ds_0.t_order_${1..12}` works
   the `databaseStrategy` not working ?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org