| use "hibernate.hbm2ddl.auto=update" to create new table, Hibernate: create table XXX (id bigint not null, version integer, createTime datetime(3), updateTime datetime(3), name varchar(255), platform_id bigint, primary key (id)) Hibernate: alter table XXX drop index UKocsst6ixgkhiji9xt1c1sijgu --------MySQLSyntaxErrorException: Can't DROP 'UKdgbe3o0emckrf4gkrt97hpkew'; check that column/key exists Hibernate: alter table XXX add constraint UKocsst6ixgkhiji9xt1c1sijgu unique (name) use druid dataSource, this logger [ERROR druid.sql.Statement]. |