-
Hello everyone, I am trying to use reactive SQL with Microsoft SQL Server 2019, sometimes the query result return invalid negative number for table with column of type numeric(19,7). Here are the steps to reproduce:
The result returns invalid negative number:
Not sure if my code is at fault here (Quarkus version: 2.15.3) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @tsegismont (reactive-sql-clients), @vietj (reactive-sql-clients) |
Beta Was this translation helpful? Give feedback.
-
My workaround to fix this, is to convert the column in the select statement: SELECT p_code, CAST(avg_buy AS VARCHAR) buy_avg, CAST(avg_sell AS VARCHAR) sell_avg FROM test_bug |
Beta Was this translation helpful? Give feedback.
My workaround to fix this, is to convert the column in the select statement:
SELECT p_code, CAST(avg_buy AS VARCHAR) buy_avg, CAST(avg_sell AS VARCHAR) sell_avg FROM test_bug