站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

DerbyCaseFragment (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.sql
Class DerbyCaseFragment

java.lang.Object
  extended byorg.hibernate.sql.CaseFragment
      extended byorg.hibernate.sql.DerbyCaseFragment

public class DerbyCaseFragment
extends CaseFragment

Author:
Simon Johnston
See Also:
DerbyDialect

Field Summary
 
Fields inherited from class org.hibernate.sql.CaseFragment
cases, returnColumnName
 
Constructor Summary
DerbyCaseFragment()
           
 
Method Summary
 String toFragmentString()
          From http://www.jroller.com/comments/kenlars99/Weblog/cloudscape_soon_to_be_derby

The problem we had, was when Hibernate does a select with a case statement, for joined subclasses.

 
Methods inherited from class org.hibernate.sql.CaseFragment
addWhenColumnNotNull, setReturnColumnName, setReturnColumnName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbyCaseFragment

public DerbyCaseFragment()
Method Detail

toFragmentString

public String toFragmentString()
From http://www.jroller.com/comments/kenlars99/Weblog/cloudscape_soon_to_be_derby

The problem we had, was when Hibernate does a select with a case statement, for joined subclasses. This seems to be because there was no else at the end of the case statement (other dbs seem to not mind).

Specified by:
toFragmentString in class CaseFragment