HHH-18892 Fix SQL errors with hex and hash functions on HANA
This commit is contained in:
parent
25207092c2
commit
d0d442cfda
|
@ -518,9 +518,9 @@ public class HANADialect extends Dialect {
|
||||||
// functionFactory.xmlextract();
|
// functionFactory.xmlextract();
|
||||||
functionFactory.generateSeries_hana( getMaximumSeriesSize() );
|
functionFactory.generateSeries_hana( getMaximumSeriesSize() );
|
||||||
|
|
||||||
functionFactory.hex( "to_hex(?1)" );
|
functionFactory.hex( "bintohex(?1)" );
|
||||||
functionFactory.sha( "hash_sha256(?1)" );
|
functionFactory.sha( "hash_sha256(to_binary(?1))" );
|
||||||
functionFactory.md5( "hash_md5(?1)" );
|
functionFactory.md5( "hash_md5(to_binary(?1))" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue