1 package org.hibernate.id; 3 4 import org.apache.commons.logging.Log; 5 import org.apache.commons.logging.LogFactory; 6 import org.hibernate.HibernateException; 7 import org.hibernate.dialect.Dialect; 8 9 19 public interface PersistentIdentifierGenerator extends IdentifierGenerator { 20 21 24 public static final String SCHEMA = "schema"; 25 26 30 public static final String TABLE = "target_table"; 31 32 36 public static final String TABLES = "identity_tables"; 37 38 42 public static final String PK = "target_column"; 43 44 47 public static final String CATALOG = "catalog"; 48 49 55 public String [] sqlCreateStrings(Dialect dialect) throws HibernateException; 56 57 63 public String [] sqlDropStrings(Dialect dialect) throws HibernateException; 64 65 70 public Object generatorKey(); 71 72 static final Log SQL = LogFactory.getLog("org.hibernate.SQL"); 73 74 } 75 76 77 78 79 80 81 | Popular Tags |