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 2019/05/22 03:03:51 UTC
[GitHub] [incubator-shardingsphere] KomachiSion commented on issue #2417:
Get error index info when use hibernate.hbm2ddl.auto=update
KomachiSion commented on issue #2417: Get error index info when use hibernate.hbm2ddl.auto=update
URL: https://github.com/apache/incubator-shardingsphere/issues/2417#issuecomment-494634118
The problem will be caused by two reasons.
1. The connection to get metadata will be get randomly, when the connection is not your actual nodes, jpa can find the index info.
2. If table created by shardingsphere, shardingsphere will rewrite the index name by add `_${actual_table_name}` as index name. For example, `idx_cpnId --> idx_cpnId_cpn_code0` so that the index info get failed.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services