- Overview
- Cryptography
- Database
- Java
- Python
- WebAPI
About the Database activity package
Database activity package for connecting to databases and running queries, inserts, and other operations in UiPath automations.
The Database activity package has been made open-source. Feel free to collaborate on our Github repositories.
The Database activity package enables the user to connect to a database and perform an entire palette of actions within it, such as executing transactions or queries and non queries. It can be used to connect to a large selection of databases, such as SQL Server, Oracle, DB2, SQLite, and others, either directly or via ODBC / OLE DB.
The OLE DB connectivity method is not supported on Linux machines.
The Start Transaction activity is a container designed to enable the user to connect to a database, perform multiple actions and then disconnect.
The Connect and Disconnect activities can also be used to connect to a database and consequently disconnect, performing any desired actions with individual connections.
The connection process works based on the usage of a DatabaseConnection variable. It is unique for each database you connect to and, once obtained, it can be subsequently used throughout your automation project for connecting to the said database.
Windows projects require having the 64-bit driver installed on the machine to establish a database connection.
Core and extended packages
Starting with version 3.0.0, the Database activities are delivered in two packages:
| Package | Content | Cryptography |
|---|---|---|
UiPath.Database.Core.Activities | All the activities and data providers, except the Oracle.ManagedDataAccess provider. | Only the cryptography provided by the operating system. |
UiPath.Database.Activities | Depends on UiPath.Database.Core.Activities of the same version, and adds the Oracle.ManagedDataAccess provider. | The Oracle provider includes its own cryptography. |
The activities are the same in both packages. UiPath.Database.Core.Activities is intended for environments whose security policy allows only the cryptography of the operating system. With only this package, Oracle connections through the Oracle.ManagedDataAccess provider fail with a message asking you to install UiPath.Database.Activities. Projects that upgrade UiPath.Database.Activities keep Oracle support.
UiPath.Database.Core.Activities can't be used in the same project as a UiPath.Database.Activities version earlier than 3.0.0, because both packages contain the same assemblies.