Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Hana .Net Odbc driver - Issues on culture specific conversions

$
0
0

Hi,

 

I am facing certain problems using .Net Odbc drivers to connect to Hana.

Specifically, trying to save decimals without using English-style decimal separators (i.e., ".").

 

I am using default .Net DataSet/DataTables and DbDataAdapter functions as Update(), FillSchema(), Fill(), etc.

 

If my .Net application thread sets is current culture to "en-US", then the Odbc works fine for reading and for writing.

But that does not happen when setting to other cultures (i.e., "pt-BR") for saving data.

Hana DB throws an exception telling that the decimal value "600,00" is not valid, for instance.

 

I am not sure if there is a bug on the MS .Net driver (this is my primary guess) or is an issue on Hana Odbc implementation.

Has anyone faced this issue before?

 

By the way, I am developing under framework v2 yet, haven't tried v4.5.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>