Browse Source
Merge in CORE/base-third from ~LIDONGY/base-third:release/10.0 to release/10.0 * commit '9039b3a65492087c79cd0cd2f8d9619146234046': KERNEL-5345 refactor: 对mysql5数据库特殊处理 改在third KERNEL-5345 refactor: hibernate特殊处理,使其可以扩展建表时的主键设置语句release/10.0
lidongy
4 years ago
4 changed files with 48 additions and 4 deletions
@ -0,0 +1,17 @@
|
||||
package com.fr.third.org.hibernate.dialect; |
||||
|
||||
import com.fr.third.org.hibernate.mapping.Column; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author lidongy |
||||
* @version 10.0 |
||||
* Created by lidongy on 2020/9/18 |
||||
*/ |
||||
public class MySQL8Dialect extends MySQL5Dialect { |
||||
@Override |
||||
public String getPrimaryKeyString(List<Column> columnList) { |
||||
return "primary key"; |
||||
} |
||||
} |
Loading…
Reference in new issue