Dbeaver For Oracle



The CData JDBC Driver for Oracle Sales implements JDBC standards that enable third-party tools to interoperate, from wizards in IDEs to business intelligence tools. This article shows how to connect to Oracle Sales data with wizards in DBeaver and browse data in the DBeaver GUI.

  1. Dbeaver For Oracle Cloud
  2. Dbeaver Oracle Connection
  3. Download Dbeaver For Oracle

Step-by-step guide on how to connect to SQL Server using DBeaver on a Mac. Screenshots included. DBeaver is a database management tool for managing DBs such as MySQL, PostgreSQL, MariaDB, SQLite, Oracle, DB2, SQL Server, Sybase, MS Access, Teradata, Firebird, Derby, etc. 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5.

  1. DBeaver is a free, open source multiplatform database management tool and SQL client for developers and database administrators. DBeaver can be used to access any database or cloud application that has an ODBC or JDBC driver, such as Oracle, SQL Server, MySQl, Salesforce, or MailChimp.
  2. Toad for Oracle is very well suited for all Oracle implementations, be it single instance or RAC. It is best suited for use of Oracle DBA, Developer and Database Engineers.I don't recommend Toad for Oracle.
  3. DBeaver establishes the new connection, which is displayed in the Database Navigator view. Expand the connection folders to view existing databases and tables. Generally, connections contain catalogs, catalog contains schemas, schemas contain tables, indexes, and procedures.

Create a JDBC Data Source for Oracle Sales Data

Follow the steps below to load the driver JAR in DBeaver.

Dbeaver oracle driver download

Dbeaver For Oracle Cloud

  1. Open the DBeaver application and, in the Databases menu, select the Driver Manager option. Click New to open the Create New Driver form.
  2. In the Driver Name box, enter a user-friendly name for the driver.
  3. To add the .jar, click Add File.
  4. In the create new driver dialog that appears, select the cdata.jdbc.oraclesalescloud.jar file, located in the lib subfolder of the installation directory.
  5. Click the Find Class button and select the OracleSalesCloudDriver class from the results. This will automatically fill the Class Name field at the top of the form. The class name for the driver is cdata.jdbc.oraclesalescloud.OracleSalesCloudDriver.
  6. Add jdbc:oraclesalescloud: in the URL Template field.

Create a Connection to Oracle Sales Data

Follow the steps below to add credentials and other required connection properties.

  1. In the Databases menu, click New Connection.
  2. In the Create new connection wizard that results, select the driver.
  3. On the next page of the wizard, click the driver properties tab.
  4. Enter values for authentication credentials and other properties required to connect to Oracle Sales.

    Oracle Sales uses Basic authentication over SSL; after setting the following connection properties, you are ready to connect:

    • Username: Set this to the user name that you use to log into your Oracle Cloud service.
    • Password: Set this to your password.
    • HostURL: Set this to the Web address (URL) of your Oracle Cloud service.

    Built-in Connection String Designer

    For assistance in constructing the JDBC URL, use the connection string designer built into the Oracle Sales JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

    java -jar cdata.jdbc.oraclesalescloud.jar

    Fill in the connection properties and copy the connection string to the clipboard.

    Below is a typical connection string:

    jdbc:oraclesalescloud:HostURL=https://my.host.oraclecloud.com; Username=abc123; Password=abcdef;

Query Oracle Sales Data

Oracle

You can now query information from the tables exposed by the connection: Right-click a Table and then click Edit Table. The data is available on the Data tab.

DBeaver Overview

DBeaver is a free, open source multiplatform database management tool and SQL client for developers and database administrators. DBeaver can be used to access any database or cloud application that has an ODBC or JDBC driver, such as Oracle, SQL Server, MySQl, Salesforce, or MailChimp. Devart DBeaver provides you with the most important features you'd need when working with a database in a GUI tool, such as:

  • SQL queries execution
  • Metadata browsing and editing
  • SQL scripts management
  • Data export/import
  • Data backup
  • DDL generation
  • ER diagrams rendering
  • Test data generation
  • BLOB/CLOB support
  • Database objects browsing
  • Scrollable resultsets

Dbeaver Oracle Connection

The tool comes in two editions — Community and Enterprise. Enterprise Edition supports NoSQL databases, such as MongoDB or Cassandra, persistent query manager database, SSH tunneling, vector graphics (SVG) and a few other enterprise-level features. Note though that you can access a MongoDB database from DBeaver Community Edition using the respective Devart ODBC driver. For the purposes of this guide, we'll use the Community Edition of DBeaver to retrieve data from Oracle via the Open Database Connectivity driver.

Creating an ODBC Data Source to Use Oracle Data in DBeaver

  1. Click the Start menu and select Control Panel.
  2. Select Administrative Tools, then click ODBC Data Sources.
  3. Click on the System DSN tab if you want to set up a DSN name for all users of the system or select User DSN to configure DSN only for your account.
  4. Click the Add button and double-click Devart ODBC Driver for Oracle in the list.
  5. Give a name to your data source and set up the connection parameters.
  6. Click the Test Connection button to verify that you have properly configured the DSN.

When using ODBC driver for Oracle with DBeaver, SQL_WVARCHAR data types may be displayed incorrectly in DBeaver. To prevent this, you need to set the string data types to Ansi either in the Advanced Settings tab of the driver configuration dialog or directly in the connection string (String Types=Ansi) — all string types will be returned as SQL_CHAR, SQL_VARCHAR and SQL_LONGVARCHAR.

Connecting to Oracle Data from DBeaver via ODBC Driver for Oracle

Follow the steps below to establish a connection to Oracle in DBeaver.

  1. In the Database menu, select New Database Connection.
  2. In the Connect to database wizard, select ODBC and click Next.
  3. Enter the previously configured DSN in the Database/Schema field.
  4. Click Test Connection. If everything goes well, you'll see the Success message.

Viewing Oracle Database Objects and Querying Data

You can expand out the database structure in DBeaver's Database Navigator to visualize all the tables in Oracle database. To view and edit the data in a table, you need to right-click on the target table name and select View data.The content of the table will be displayed in the main workspace.

Dbeaver For Oracle

If you want to write a custom SQL query that will include only the necessary columns from the table, you can select New SQL Editor in the SQL Editor main menu. Create your query and run it by clicking Execute SQL Statement to view the results in the same window.

Download Dbeaver For Oracle

© 2015-2021 Devart. All Rights Reserved.Request SupportODBC ForumProvide Feedback