What database-type values are valid for Oracle?

Daniel Eads Community Champion Sep 16, 2015

What values are valid for the database-type element in dbconfig.xml for Oracle databases?

Our file has oracle10g set even though our actual database is Oracle 11g. We're upgrading to Oracle 12c right now to maintain support - can the value just be updated to oracle12c in the file?

<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
  <name>defaultDS</name>
  <delegator-name>default</delegator-name>
  <database-type>oracle10g</database-type>
  <jdbc-datasource>
    <url>jdbc:oracle:thin:@[HOSTNAME]:[PORT]:[SERVICE]</url>
    <driver-class>oracle.jdbc.OracleDriver</driver-class>

2 answers

0 vote
Daniel Eads Community Champion Sep 16, 2015

May have answered this myself - the following error occurred for both oracle11g and oracle12c as the value: 2015-09-16 12:25:47,846 localhost-startStop-1 ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA. com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Could not find a field-type definition with name "oracle11g"

Hello!

I believe the only thing you would have to do is to run the config tool again and point JIRA to same database (upgraded, then test the connection and see if your {{$JIRA_Home/dbconfig.xml}} file changes this value). This guide below can provide you better understanding of that:

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

53 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you