Oracle.ManagedDataAccess
23.3.2-dev
Prefix Reserved
See the version list below for details.
dotnet add package Oracle.ManagedDataAccess --version 23.3.2-dev
NuGet\Install-Package Oracle.ManagedDataAccess -Version 23.3.2-dev
<PackageReference Include="Oracle.ManagedDataAccess" Version="23.3.2-dev" />
paket add Oracle.ManagedDataAccess --version 23.3.2-dev
#r "nuget: Oracle.ManagedDataAccess, 23.3.2-dev"
// Install Oracle.ManagedDataAccess as a Cake Addin #addin nuget:?package=Oracle.ManagedDataAccess&version=23.3.2-dev&prerelease // Install Oracle.ManagedDataAccess as a Cake Tool #tool nuget:?package=Oracle.ManagedDataAccess&version=23.3.2-dev&prerelease
Oracle.ManagedDataAccess 23.3.2-dev
Release Notes for Oracle Data Provider for .NET, Managed Driver NuGet Package
March 2024
Managed Oracle Data Provider for .NET (ODP.NET) features optimized ADO.NET data access to the Oracle database for .NET Framework and is 100% managed code. ODP.NET allows developers to take advantage of advanced Oracle database functionality, including Real Application Clusters, self-tuning statement cache, Application Continuity, JSON Relational Duality, and Fast Connection Failover.
This document provides information that supplements the Oracle Data Provider for .NET (ODP.NET) documentation.
Oracle .NET Links
- Oracle .NET Home Page
- GitHub - Sample Code
- ODP.NET Discussion Forum
- YouTube
- X (Twitter)
- Email Newsletter Sign Up
New Features
- .NET Metrics .NET Metrics are application numerical measurements collected at regular time intervals for the purposes of monitoring and alerting about application health. In an ODP.NET setting, metrics can monitor connection statistics, such as number of ODP.NET hard connections to the database, number of active connections, or number of free connections. Starting with version 23.3.2, managed ODP.NET supports .NET Metrics. Note: The ODP.NET metrics source name is "Oracle.ManagedDataAccess" for managed ODP.NET.
- OpenTelemetry – Automatic Instrumentation and Dynamic Enablement ODP.NET adds new OpenTelemetry automatic instrumentation support that delivers traces to observability backends without requiring source code changes. ODP.NET OpenTelemetry is now enabled automatically. It no longer requires adding Oracle.ManagedDataAccess.OpenTelemetry NuGet package nor calling AddOracleDataProviderInstrumentation() extension method to enable OpenTelemetry. ODP.NET OpenTelemetry is now enabled by default. It can be turned off or on by setting OracleConfiguration.OpenTelemetryTracing to false or true, respectively. It can also be set in the OpenTelemetryTracing .NET configuration file setting for .NET Framework. Note: The ODP.NET activity source name is "Oracle.ManagedDataAccess" for managed ODP.NET. Note: Applications will still need to add Oracle.ManagedDataAccess.OpenTelemetry NuGet package to the application and call the AddOracleDataProviderInstrumentation() extension method by passing in an OracleDataProviderInstrumentationOptions object to set non-default option settings.
Bug Fixes since Oracle.ManagedDataAccess 23.3.1-dev
- Bug 35711274 ORA-00904: SHARDED INVALID IDENTIFIER WHEN ADDING EVENT HANDLER TO ORACLEAQQUEUE.MESSAGEAVAILABLE
- Bug 35666844 ORA-50000: CONNECTION REQUEST TIMED OUT WHEN USING ASYNC AND CONNECTION POOLING
- Bug 35698455 ORA-50028: INVALID PARAMETER BINDING WHEN USING ARRAY BINDING WITH ASYNC APIS
- Bug 35711258 AQ ORACLEAQAGENT CONSTRUCTOR WITH NULL NAME PARAMETER CAUSES ARGUMENTNULLEXCEPTION
- Bug 35778668 PIPELINING OPERATION BLOCKS THE APPLICATION THREAD
- Bug 35901069 ORA-50028: INVALID PARAMETER BINDING (PARAMETER '1') WHEN USING BIND BY NAME WITH UDTS
Installation Changes
The following app/web.config entries are added when installing the managed ODP.NET NuGet package to your application:
- Configuration Section Handler
A configuration section handler entry is added to the app/web.config to enable applications to add an <oracle.manageddataaccess.client> section for ODP.NET, Managed Driver-specific configuration.
Note: For a web app, if the same config section handler for "oracle.manageddataaccess.client" also exists in machine.config but the "Version" attribute values are different, an error message "There is a duplicate 'oracle.manageddataaccess.client' section defined." may be observed at runtime. To resolve the error, remove the "oracle.manageddataaccess.client" config section handler entry in the machine.config. If other applications on the machine depend on this machine.config entry, move the config section handler entry to each application's web.config file.
- DbProviderFactories
The DbProviderFactories entry is added for applications that use DbProviderFactories and DbProviderFactory classes. Any DbProviderFactories entry for "Oracle.ManagedDataAccess.Client" in the machine.config will be ignored.
- Dependent Assembly
The dependent assembly entry is created to ignore policy DLLs for Oracle.ManagedDataAccess.dll. It directs the app to always use the Oracle.ManagedDataAccess.dll version that is specified by the "newVersion" attribute in the "bindingRedirect" element. The "newVersion" attribute corresponds to the Oracle.ManagedDataAccess.dll version which came with the NuGet package.
- Data Sources
The data sources entry is added to provide a template on how a data source can be configured in the app/web.config. Simply rename the sample data source to an alias of your choosing; modify the PROTOCOL, HOST, PORT, SERVICE_NAME as required; and un-comment the "dataSource" element. Once that is done, the alias can be used as the "data source" attribute in your ODP.NET connection string.
Copyright (c) 2024, Oracle and/or its affiliates.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- System.Diagnostics.DiagnosticSource (>= 8.0.0)
- System.Formats.Asn1 (>= 8.0.0)
- System.Text.Json (>= 8.0.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
NuGet packages (253)
Showing the top 5 NuGet packages that depend on Oracle.ManagedDataAccess:
Package | Downloads |
---|---|
DistributedLock
Provides easy-to-use mutexes, reader-writer locks, and semaphores that can synchronize across processes and machines. This is an umbrella package that brings in the entire family of DistributedLock.* packages (e. g. DistributedLock.SqlServer) as references. Those packages can also be installed individually. |
|
DapperExtensions
A small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs. For more advanced querying scenarios, Dapper Extensions provides a predicate system. |
|
Oracle.ManagedDataAccess.EntityFramework
This NuGet package is for ODP.NET, Managed Driver applications that use Code First and/or Entity Framework 6 applications. It will add and configure the Oracle Entity Framework assembly for your application. |
|
EnterpriseLibrary.Data.NetCore
The Data Access Application Block simplifies the development of tasks that implement common data access functionality. Applications can use this application block in a variety of situations, such as reading data for display, passing data through application layers, and submitting changed data back to the database system. |
|
DistributedLock.Oracle
Provides a distributed lock implementation based on Oracle Database |
GitHub repositories (38)
Showing the top 5 popular GitHub repositories that depend on Oracle.ManagedDataAccess:
Repository | Stars |
---|---|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
dotnetcore/FreeSql
.NET aot orm, VB.NET/C# orm, Mysql/PostgreSQL/SqlServer/Oracle orm, Sqlite/Firebird/Clickhouse/DuckDB orm, 达梦/金仓/虚谷/翰高/高斯 orm, 神通 orm, 南大通用 orm, 国产 orm, TDengine orm, QuestDB orm, MsAccess orm.
|
|
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
|
|
linq2db/linq2db
Linq to database provider.
|
|
nhibernate/nhibernate-core
NHibernate Object Relational Mapper
|
Version | Downloads | Last updated | |
---|---|---|---|
23.7.0 | 102,325 | 12/24/2024 | |
23.6.1 | 75,312 | 11/7/2024 | |
23.6.0 | 67,069 | 10/2/2024 | |
23.5.1 | 106,552 | 8/16/2024 | |
23.5.0 | 66,871 | 7/11/2024 | |
23.4.0 | 156,436 | 5/2/2024 | |
23.3.3-dev | 837 | 4/19/2024 | |
23.3.2-dev | 2,530 | 3/11/2024 | |
23.3.1-dev | 6,992 | 12/12/2023 | |
23.3.0-dev | 3,203 | 10/17/2023 | |
23.2.0-dev | 5,243 | 7/29/2023 | |
21.17.0 | 15,264 | 12/24/2024 | |
21.16.0 | 26,265 | 10/2/2024 | |
21.15.0 | 55,047 | 7/11/2024 | |
21.14.0 | 90,569 | 4/11/2024 | |
21.13.0 | 330,039 | 1/1/2024 | |
21.12.0 | 249,523 | 10/9/2023 | |
21.11.0 | 223,471 | 7/25/2023 | |
21.10.0 | 1,014,762 | 4/8/2023 | |
21.9.0 | 604,049 | 1/19/2023 | |
21.8.0 | 193,708 | 10/18/2022 | |
21.7.0 | 179,502 | 8/4/2022 | |
21.6.1 | 305,845 | 5/4/2022 | |
21.5.0 | 290,325 | 1/4/2022 | |
21.4.0 | 252,420 | 10/27/2021 | |
19.26.0 | 8,361 | 12/24/2024 | |
19.25.0 | 10,476 | 10/2/2024 | |
19.24.0 | 17,041 | 7/11/2024 | |
19.23.0 | 20,930 | 4/11/2024 | |
19.22.0 | 63,323 | 1/1/2024 | |
19.21.0 | 48,731 | 10/9/2023 | |
19.20.0 | 69,184 | 7/25/2023 | |
19.19.0 | 94,652 | 4/8/2023 | |
19.18.0 | 258,556 | 1/19/2023 | |
19.17.0 | 42,317 | 10/18/2022 | |
19.16.0 | 44,230 | 8/4/2022 | |
19.15.1 | 103,518 | 6/7/2022 | |
19.14.0 | 235,353 | 1/4/2022 | |
19.13.0 | 147,577 | 10/8/2021 | |
19.11.0 | 1,402,993 | 3/16/2021 | |
19.10.1 | 803,892 | 1/12/2021 | |
19.10.0 | 357,630 | 11/16/2020 | |
19.9.0 | 350,523 | 9/8/2020 | |
19.8.0 | 672,171 | 7/9/2020 | |
19.7.0 | 587,503 | 4/21/2020 | |
19.6.0 | 1,203,141 | 12/6/2019 | |
19.5.0 | 343,142 | 10/16/2019 | |
19.3.1 | 827,178 | 7/11/2019 | |
19.3.0 | 487,065 | 5/22/2019 | |
18.15.1 | 12,765 | 2/3/2023 | |
18.15.0 | 17,136 | 8/5/2021 | |
18.6.0 | 453,246 | 3/20/2019 | |
18.3.0 | 2,038,174 | 8/29/2018 | |
12.2.20230118 | 32,967 | 2/3/2023 | |
12.2.20220118 | 55,485 | 12/7/2021 | |
12.2.1100 | 3,603,897 | 5/31/2017 | |
12.1.24230118 | 8,325 | 2/3/2023 | |
12.1.24220118 | 56,996 | 12/7/2021 | |
12.1.24160719 | 1,404,683 | 9/17/2016 | |
12.1.24160419 | 490,150 | 4/27/2016 | |
12.1.2400 | 1,007,551 | 10/14/2015 | |
12.1.22 | 459,929 | 6/23/2015 | |
12.1.21 | 395,927 | 1/16/2015 |