KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > dialect > MySQLInnoDBDialect


1 //$Id: MySQLInnoDBDialect.java,v 1.4 2005/06/12 21:55:12 oneovthafew Exp $
2
package org.hibernate.dialect;
3
4 /**
5  * @author Gavin King
6  */

7 public class MySQLInnoDBDialect extends MySQLDialect {
8
9     public boolean supportsCascadeDelete() {
10         return true;
11     }
12     
13     public String JavaDoc getTableTypeString() {
14         return " type=InnoDB";
15     }
16
17     public boolean hasSelfReferentialForeignKeyBug() {
18         return true;
19     }
20     
21 }
22
Popular Tags