Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

getJdbcDatasource returns NULL

Marcel Nick October 23, 2017

Hi ,

 

I am trying to get hold of the JDBCDataSource on Atlassian SDK 

<jira.version>7.2.2</jira.version><amps.version>6.2.11</amps.version>

using the below API , but I get a NULL 

JdbcDatasourceInfo jdbcDatasourceInfo = new DefaultOfBizConnectionFactory().getDatasourceInfo().getJdbcDatasource(); 

 

However the JNDI Datasource works

DefaultOfBizConnectionFactory().getDatasourceInfo().getJndiDatasource()

 

1 answer

0 votes
Marcel Nick October 24, 2017

Seems like a SDK issue . works when I change JIRA & amps version to the one below

<jira.version>6.3.1</jira.version>
<amps.version>5.0.3</amps.version>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events