mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-21 02:25:22 +00:00
Fix date truncation for HANA
This commit is contained in:
parent
aead5fe92a
commit
058f31a769
@ -314,7 +314,7 @@ public void trunc_floor() {
|
||||
* SAP HANA
|
||||
*/
|
||||
public void trunc_roundMode() {
|
||||
trunc( "round(?1,0,round_down)", "round(?1,?2,round_down)", TruncFunction.DatetimeTrunc.FORMAT, "to_date" );
|
||||
trunc( "round(?1,0,round_down)", "round(?1,?2,round_down)", TruncFunction.DatetimeTrunc.FORMAT, "to_timestamp" );
|
||||
}
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user