Created
June 12, 2018 02:35
-
-
Save CattenLinger/0eb2322b9dd498f77bdc9e5b87c07f16 to your computer and use it in GitHub Desktop.
MySQL Dialect for NDB7 Engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.hibernate.dialect.MySQL5Dialect; | |
public class MySQLNDB7Dialect extends MySQL5Dialect { | |
@Override | |
public boolean supportsCascadeDelete() { | |
return true; | |
} | |
@Override | |
public boolean dropConstraints() { | |
return true; | |
} | |
@Override | |
public String getTableTypeString() { | |
return " ENGINE=NDB"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment