HHH-18246 Fix for Informix nulls precedence support
This commit is contained in:
parent
0534e1aa01
commit
e8bd4e7cc5
|
@ -18,6 +18,7 @@ import org.hibernate.community.dialect.sequence.SequenceInformationExtractorInfo
|
||||||
import org.hibernate.community.dialect.unique.InformixUniqueDelegate;
|
import org.hibernate.community.dialect.unique.InformixUniqueDelegate;
|
||||||
import org.hibernate.dialect.DatabaseVersion;
|
import org.hibernate.dialect.DatabaseVersion;
|
||||||
import org.hibernate.dialect.Dialect;
|
import org.hibernate.dialect.Dialect;
|
||||||
|
import org.hibernate.dialect.NullOrdering;
|
||||||
import org.hibernate.dialect.Replacer;
|
import org.hibernate.dialect.Replacer;
|
||||||
import org.hibernate.dialect.SelectItemReferenceStrategy;
|
import org.hibernate.dialect.SelectItemReferenceStrategy;
|
||||||
import org.hibernate.dialect.function.CaseLeastGreatestEmulation;
|
import org.hibernate.dialect.function.CaseLeastGreatestEmulation;
|
||||||
|
@ -432,6 +433,16 @@ public class InformixDialect extends Dialect {
|
||||||
return SequenceInformationExtractorInformixDatabaseImpl.INSTANCE;
|
return SequenceInformationExtractorInformixDatabaseImpl.INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NullOrdering getNullOrdering() {
|
||||||
|
return NullOrdering.SMALLEST;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsNullPrecedence() {
|
||||||
|
return getVersion().isSameOrAfter( 12, 10 );
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LimitHandler getLimitHandler() {
|
public LimitHandler getLimitHandler() {
|
||||||
return limitHandler;
|
return limitHandler;
|
||||||
|
|
Loading…
Reference in New Issue