Looking at the documentation for Bob Swift's SQL for Confluence addon (https://bobswift.atlassian.net/wiki/display/SQL/Data+Source+Profiles), I don't see any examples for SQL Server. There are application server based data source configurations (https://bobswift.atlassian.net/wiki/display/SQL/Data+source+configuration+-+application+server), but those require rebooting Confluence. I'd like to try the dynamic data source profile first.
Does anyone have an example for this? The format should be something like:
dbUrl=jdbc:jtds:sqlserver://localhost:1433| dbUser=username| dbPassword=password| dbDriver=??? | dbJar=???
This is what I have used.
The app-server example doesn't explicitly reference a JAR: <Resource name="jdbc/myDS" auth="Container" type="javax.sql.DataSource" driverClassName="net.sourceforge.jtds.jdbc.Driver" url="jdbc:jtds:sqlserver://mysqlserver:1433/mydatabase" username="username" password="password" maxActive="20" maxIdle="10" maxWait="-1" validationQuery="Select 1" /> But, I see that the app-server's "driverClassName" maps to the data source profile's "dbDriver".
Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...
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!
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