1 package org.hibernate.persister.entity; 3 4 import java.io.Serializable ; 5 import java.sql.ResultSet ; 6 import java.sql.SQLException ; 7 8 import org.hibernate.HibernateException; 9 import org.hibernate.engine.SessionImplementor; 10 import org.hibernate.type.Type; 11 12 19 public interface Loadable extends EntityPersister { 20 21 public static final String ROWID_ALIAS = "rowid_"; 22 23 26 public boolean hasSubclasses(); 27 28 31 public Type getDiscriminatorType(); 32 33 37 public String getSubclassForDiscriminatorValue(Object value); 38 39 42 public String [] getIdentifierColumnNames(); 43 44 47 public String [] getIdentifierAliases(String suffix); 48 51 public String [] getPropertyAliases(String suffix, int i); 52 53 56 public String [] getPropertyColumnNames(int i); 57 58 61 public String getDiscriminatorAlias(String suffix); 62 63 66 public String getDiscriminatorColumnName(); 67 68 71 public boolean hasRowId(); 72 73 76 public Object [] hydrate( 77 ResultSet rs, 78 Serializable id, 79 Object object, 80 Loadable rootLoadable, 81 String [][] suffixedPropertyColumns, 82 boolean allProperties, 83 SessionImplementor session) 84 throws SQLException , HibernateException; 85 86 public boolean isAbstract(); 87 88 } 89 | Popular Tags |