org.hibernate.sql
Class DerbyCaseFragment

java.lang.Object
  extended by org.hibernate.sql.CaseFragment
      extended by org.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