cancel
Showing results for 
Search instead for 
Did you mean: 

HANA drivers for .NET

LuigiPiccoli17
Discoverer
146

Hello,

I'm really confused about the HANA client drivers for .NET/ADO.NET as there are multiple versions, some available for some operating systems and for others not. In particular, I'd like to understand the difference between:

Sap.Data.Hana.Core.v2.1.dll

Sap.Data.Hana.Net.v6.0.dll

Sap.Data.Hana.Net.v8.0.dll

since they all seem to provide the same library and the same functions. Is one newer than the others or more appropriate for use with e.g. .NET 9? I have found no proper supporting information in the documentation.

Thank you

View Entire Topic
minghai_chang
Product and Topic Expert
Product and Topic Expert

Hello,

We currently ship three versions of the HANA .NET provider:

  • Sap.Data.Hana.Core.v2.1.dll – Target framework: .NET Core 2.1
  • Sap.Data.Hana.Net.v6.0.dll – Target framework: .NET 6
  • Sap.Data.Hana.Net.v8.0.dll – Target framework: .NET 8

All three provide the same functionality and use the same native library (libadonetHDB). The only difference is that some new data types introduced in newer .NET versions are not supported by the older versions of the HANA .NET provider. HANA-specific new features are only supported by the v6 and v8 providers.

Since .NET is backward compatible, you can use any of these providers with .NET 9. However, we always recommend using the latest version (Sap.Data.Hana.Net.v8.0.dll).

Kind regards,

Minghai Chang

LuigiPiccoli17
Discoverer
Thanks!