[Bamboo Knowledge Base]
This page describes how to connect Bamboo to an Oracle database.
Bamboo provides two ways to connect to an Oracle database — using JDBC or using a datasource. JDBC is generally simpler and is the recommended method.
See Supported platforms for other information about the versions of Oracle supported by Bamboo.
On this page:
Important
Related pages:
Within that database instance, create a user which Bamboo will connect as (e.g. bamboo-user
). Remember this database user name, as it will be used to configure Bamboo's connection to this database.
When you create a user in Oracle, Oracle will create a 'schema' automatically.
create user bamboo-user identified by password;
Ensure that the user has the following permissions:
grant connect, resource, create table to bamboo-user;
To connect Bamboo to a Oracle database, using JDBC:
Select Direct JDBC connection. The 'Setup JDBC Connection' screen will appear as shown in the screenshot below.
Setting | Description |
---|---|
Driver Class Name | Type: oracle.jdbc.driver.OracleDriver |
Database URL | Type the URL where Bamboo will access your database, e.g. jdbc:oracle:thin:@localhost:1521:SID . For syntax, please see the Oracle documentation. |
Username | Type the username that Bamboo will use to access your database. |
Password | Type the password that Bamboo will use to access your database. |
Screenshot: Setup JDBC Connection (Oracle)
To connect Bamboo to a Oracle database, using a datasource:
java:comp/env/jdbc/DataSourceName
doesn't work, try jdbc/DataSourceName
(and vice versa).Screenshot Setup Datasource Connection