KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > persister > entity > SQLLoadable


1 //$Id: SQLLoadable.java,v 1.4 2005/07/03 19:42:42 maxcsaucdk Exp $
2
package org.hibernate.persister.entity;
3
4 import org.hibernate.type.Type;
5
6 /**
7  * A class persister that supports queries expressed in the
8  * platform native SQL dialect
9  *
10  * @author Gavin King, Max Andersen
11  */

12 public interface SQLLoadable extends Loadable {
13
14     /**
15      * Return the column alias names used to persist/query the named property of the class or a subclass (optional operation).
16      */

17     public String JavaDoc[] getSubclassPropertyColumnAliases(String JavaDoc propertyName, String JavaDoc suffix);
18
19     /**
20      * Return the column names used to persist/query the named property of the class or a subclass (optional operation).
21      */

22     public String JavaDoc[] getSubclassPropertyColumnNames(String JavaDoc propertyName);
23     
24     /**
25      * All columns to select, when loading.
26      */

27     public String JavaDoc selectFragment(String JavaDoc alias, String JavaDoc suffix);
28
29     /**
30      * Get the type
31      */

32     public Type getType();
33
34     
35
36 }
37
Popular Tags