Was this article helpful?

Oracle

MR900432536.JPG Connecting to an Oracle Database Tutorial Video. This video will walk you through how to connect to an Oracle database as a data source.

 

​Table of Contents  
AutoTag or the .NET Engine ​Installing the connector
  Connecting to your Oracle database
Java Engine Installing the connector
  Connecting to your Oracle database
 

AutoTag or the .NET Engine

Installing the connector

There are three different providers to choose from when connecting to an Oracle database from AutoTag or the .NET engine: ODP.NET, OleDB, or ODBC.  We strongly suggest using the ODP.NET provider since it provides more functionality.

There are two separate installers, depending on where you are connecting to Oracle from (these are the newest installers as of 10/19/2010):

  • AutoTag (2000 to 2007; 2010 x86) or .NET engine on a 32-bit OS:
    • Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (32-bit)
    • win32_11gR2_client.zip (684,581,290 bytes)
    • Download link on Oracle.com
  • AutoTag (2010 x64) or .NET engine on a 64-bit OS:
    • Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64)
    • win64_11gR2_client.zip (615,698,264 bytes) (cksum - 2947608743)
    • Download link on Oracle.com

If you have problems with either of the above links, a copy of the installers can also be found here

 

Installtion for 32-Bit OS:

  1. Unzip the file and double-click on setup.exe to begin the install.
  2. You will be greeted by the Welcome screen.  Click the Next button.
    01 Welcome.PNG
  3. Choose where you want the installer files to go.  You can leave it as the default in most cases.
    02 Inventory.PNG
  4. Choose 'Custom' for the type of install.
    03 Type of Install.PNG
  5. Set the install location.  You can leave it as the default in most cases.
    04 Location.PNG
  6. The installer checks for pre-requisites.  You may get two errors here if you are running a newer operating system, such as Windows 7.  If so, manually place a checkmark in the first two rows to continue the install.  This will still install correctly.
    05 Prereq.PNG
  7. You will now be prompted for which components to install.  Check the "Oracle Windows Interfaces" box and make sure the ODBC, OLE DB, and .NET data providers are checked.
    06 Component.PNG
  8. Select a service port.  You can leave it as the default in most cases.
    07 Service Port.PNG
  9. Review the summary.  Click Install to begin the installation.
    08 Summary.PNG
  10. When it as finished installing, you will be met with an End screen.
    09 End.PNG

Connecting to your Oracle database

.NET Data connector (AutoTag)

In the AutoTag Datasource Connector, select the "Oracle Data Provider for .NET" vendor.  Fill in your oracle server name, username, and password.  Then click Test to ensure that a connection was successfully made.

dotnetProvider.png

To test this, use the following data to connect to the public Windward Oracle database (internet access required).

  • Server: oracle.windward.net:1521
  • Username: hr
  • Password: hr

You will get the following message if you successfully connect.

connectionSuccess.PNG

.NET Data connector (.NET engine)

To use an Oracle datasource in RunReport, you will need the following in the command:

    -oracle "DATA SOURCE=oracle.windward.net:1521;USER ID=hr;PASSWORD=hr;PERSIST SECURITY INFO=True"

where whatever is in the quotes is your connection string to the Oracle database.  (Note: if your datasource has a name you set in AutoTag, you will want to replace '-oracle' with '-oracle:myDataSourceName').

Java Engine

Installing the connector (JDBC)

You can find the links for the Oracle thin client JAR at: http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html.

The Java 1.5 jar is located at http://download.oracle.com/otn/utilities_drivers/jdbc/11202/ojdbc5.jar.

You will then want to add the JAR to your classpath.

Connecting to your Oracle database (JDBC)

To use an Oracle datasource in RunReport, you will need the following in the command:

    -oracle "hr/hr@oracle.windward.net:1521"

where whatever is in the quotes is your connection string to the Oracle database.  (Note: if your datasource has a name you set in AutoTag, you will want to replace '-oracle' with '-oracle:myDataSourceName').

Important Note on Windward Videos

Can't view the video? See Broken Images and Videos in the Windward wiki and Broken Videos: Vimeo and Firefox for help.

Was this article helpful?
Pages that link here
Page statistics
1644 view(s), 9 edit(s) and 12062 character(s)

Tags

This page has no custom tags set.

Comments

You must to post a comment.

Attach file

Attachments

FileVersionSizeModifiedOptions