All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.dialect.MyISAMStorageEngine Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.dialect;

/**
 * Represents the MyISAM storage engine.
 * 
 * @author Vlad Mihalcea
 */
public class MyISAMStorageEngine implements MySQLStorageEngine{

	public static final MySQLStorageEngine INSTANCE = new MyISAMStorageEngine();

	@Override
	public boolean supportsCascadeDelete() {
		return false;
	}

	@Override
	public String getTableTypeString(String engineKeyword) {
		return String.format( " %s=MyISAM", engineKeyword );
	}

	@Override
	public boolean hasSelfReferentialForeignKeyBug() {
		return false;
	}

	@Override
	public boolean dropConstraints() {
		return false;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy