1 package org.hibernate.loader; 2 3 import java.util.Map ; 4 5 import org.hibernate.persister.entity.Loadable; 6 7 13 public class ColumnEntityAliases extends DefaultEntityAliases { 14 15 public ColumnEntityAliases(Map returnProperties, Loadable persister, String suffix) { 16 super(returnProperties, persister, suffix); 17 } 18 19 protected String [] getIdentifierAliases(Loadable persister, String suffix) { 20 return persister.getIdentifierColumnNames(); 21 } 22 23 protected String getDiscriminatorAlias(Loadable persister, String suffix) { 24 return persister.getDiscriminatorColumnName(); 25 } 26 27 protected String [] getPropertyAliases(Loadable persister, int j) { 28 return persister.getPropertyColumnNames(j); 29 } 30 31 32 } 33 | Popular Tags |