Top Fields Constructors Methods
org.hibernate.sql

public Class DerbyCaseFragment

extends CaseFragment
Class Inheritance
Imports
java.util.Iterator, .Map

Author
Simon Johnston
See Also
org.hibernate.dialect.DerbyDialect

Field Summary

Inherited from org.hibernate.sql.CaseFragment:
casesreturnColumnName

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
toFragmentString()

Implements abstract org.hibernate.sql.CaseFragment.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.

Inherited from org.hibernate.sql.CaseFragment:
addWhenColumnNotNullsetReturnColumnNamesetReturnColumnName

Constructor Detail

DerbyCaseFragmentback to summary
public DerbyCaseFragment()

Method Detail

toFragmentStringback to summary
public String toFragmentString()

Implements abstract org.hibernate.sql.CaseFragment.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).