Package org.hibernate.sql
Class DerbyCaseFragment
- java.lang.Object
-
- org.hibernate.sql.CaseFragment
-
- org.hibernate.sql.DerbyCaseFragment
-
public class DerbyCaseFragment extends CaseFragment
- See Also:
DerbyDialect
-
-
Field Summary
-
Fields inherited from class org.hibernate.sql.CaseFragment
cases, returnColumnName
-
-
Constructor Summary
Constructors Constructor Description DerbyCaseFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toFragmentString()
From http://www.jroller.com/comments/kenlars99/Weblog/cloudscape_soon_to_be_derby-
Methods inherited from class org.hibernate.sql.CaseFragment
addWhenColumnNotNull, setReturnColumnName, setReturnColumnName
-
-
-
-
Method Detail
-
toFragmentString
public java.lang.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 classCaseFragment
-
-