当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
CaseFragment (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.sql
Class CaseFragment
java.lang.Object
org.hibernate.sql.CaseFragment
- Direct Known Subclasses:
- ANSICaseFragment, DecodeCaseFragment, DerbyCaseFragment, HSQLCaseFragment, MckoiCaseFragment
- public abstract class CaseFragment
- extends Object
Abstract SQL case fragment renderer
- Author:
- Gavin King, Simon Harris
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
returnColumnName
protected String returnColumnName
cases
protected Map cases
CaseFragment
public CaseFragment()
toFragmentString
public abstract String toFragmentString()
setReturnColumnName
public CaseFragment setReturnColumnName(String returnColumnName)
setReturnColumnName
public CaseFragment setReturnColumnName(String returnColumnName,
String suffix)
addWhenColumnNotNull
public CaseFragment addWhenColumnNotNull(String alias,
String columnName,
String value)