KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > mapping > RelationalModel


1 //$Id: RelationalModel.java,v 1.3 2005/02/12 07:19:26 steveebersole Exp $
2
package org.hibernate.mapping;
3
4 import org.hibernate.engine.Mapping;
5 import org.hibernate.HibernateException;
6 import org.hibernate.dialect.Dialect;
7
8 /**
9  * A relational object which may be created using DDL
10  * @author Gavin King
11  */

12 public interface RelationalModel {
13     public String JavaDoc sqlCreateString(Dialect dialect, Mapping p, String JavaDoc defaultCatalog, String JavaDoc defaultSchema) throws HibernateException;
14     public String JavaDoc sqlDropString(Dialect dialect, String JavaDoc defaultCatalog, String JavaDoc defaultSchema);
15 }
16
Popular Tags