Bamboo provides two ways to connect to an Oracle database — via JDBC or via a datasource. JDBC is generally simpler and is the recommended method.
Connecting via JBDC
To connect Bamboo to a Oracle database, via JDBC,
- Put the Oracle JDBC driver
jar
file into your application server's classpath:
- For the Bamboo Standalone distribution, copy the
jar
file into the webapp/WEB-INF/lib
directory.
- For the Bamboo EAR-WAR distribution, the location will depend on which application server you are using.
- At Step 2 of the Bamboo Setup Wizard, choose 'External Database' and select 'Oracle' from the list.
- The 'Select Database Connection' screen will appear. Select 'Direct JDBC connection'.
- The 'Setup JDBC Connection' screen will appear as shown in the screenshot below.
- 'Driver Class Name' — Type the following:
oracle.jdbc.driver.OracleDriver
- 'Database URL' — Type the URL where Bamboo will access your database. For syntax, please see the Oracle documentation, e.g.
jdbc:oracle:thin:@localhost:1521:SID
- 'Username' — Type the username that Bamboo will use to access your database.
- 'Password' — Type the password that Bamboo will use to access your database.
- Select the 'Overwrite existing data' checkbox if you wish Bamboo to overwrite any tables that already exist in the database.
- Click 'Continue' to finish specifying your connection settings.
Screenshot 1: 'Setup JDBC Connection (Oracle)'

Connecting via a datasource
To connect Bamboo to a Oracle database, via a datasource,
- Configure a datasource in your application server (consult your application server documentation for details). For the syntax of the JDBC URL to use, please see the Oracle documentation.
- At Step 2 of the Bamboo Setup Wizard, choose 'External Database' and select 'Oracle' from the list.
- The 'Select Database Connection' screen will appear. Select 'Connect via a datasource (configured in the application server)'.
- The 'Setup Datasource Connection' screen will appear as shown in the screenshot below. In the 'JNDI name' field, type the JNDI name of your datasource, as configured in your application server.
If java:comp/env/jdbc/DataSourceName
doesn't work, try jdbc/DataSourceName
(and vice versa).
- Select the 'Overwrite existing data' checkbox if you wish Bamboo to overwrite any tables that already exist in the database.
- Click 'Continue' to finish specifying your connection settings.
Screenshot 2: 'Setup Datasource Connection'
