dalaocu edited a comment on issue #1711: hbm2ddl update "CREATE INDEX" 
exception in jpa
URL: 
https://github.com/apache/incubator-shardingsphere/issues/1711#issuecomment-454776919
 
 
   Sorry, my project is not open source. I have to write a demo to show you. 
   I'm sure that it's not a hibernate issue because if I remove the 
ShardingSphere then it will work. This case is easy to check if you build a 
spring data jpa project with springboot.
   Actually I have rewrote the Dialect and It works fine when I just use 
hibernate.
   
   `
   public class MysqlConfig extends MySQL57Dialect {
       @Override
       public String getTableTypeString() {
           return " ENGINE=InnoDB DEFAULT CHARSET=utf8";
       }
   
   }
   
   `
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to