HHH-11660 - Deprecate org.hibernate.mapping.RelationalModel

This commit is contained in:
Andrea Boriero 2017-04-26 13:44:07 +01:00
parent 3ee36aa420
commit 74d4eb61a9
1 changed files with 5 additions and 2 deletions

View File

@ -12,8 +12,11 @@ import org.hibernate.engine.spi.Mapping;
/**
* A relational object which may be created using DDL
* @author Gavin King
*
* @deprecated (since 5.2) not needed anymore.
*/
@Deprecated
public interface RelationalModel {
public String sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema) throws HibernateException;
public String sqlDropString(Dialect dialect, String defaultCatalog, String defaultSchema);
String sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema) throws HibernateException;
String sqlDropString(Dialect dialect, String defaultCatalog, String defaultSchema);
}