HHH-18892 Fix SQL errors with hex and hash functions on HANA

This commit is contained in:
Christian Beikov 2024-12-17 17:53:30 +01:00
parent 25207092c2
commit d0d442cfda
1 changed files with 3 additions and 3 deletions

View File

@ -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))" );
} }
/** /**