最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - How can I access a database through the Atlassian Plugin Framework in Confluence? - Stack Overflow

programmeradmin1浏览0评论

I'm working on a Confluence plugin (not Cloud) and trying to allow the admin to write a custom SQL query in the UI. Once the query is written, a button should trigger the execution of the query, sending it to the backend which in turn sends it to the database and retrieves the results, which I intend to display as a table in the UI.

I'm familiar with plugin development in Jira, but I'm having trouble figuring out the best way to access the database through the Plugin Framework in Confluence. I'm unsure what permissions, dependencies, or configurations are required in atlassian-plugin.xml to make this work. Are there manager classes for it like in Jira (I couldn't find any).

I’ve tried adding some basic dependencies and permissions, but I’m not sure if I’m missing something or if there’s a specific configuration required in Confluence. I expected the database interaction to work similarly to Jira where there was ofbiz and a Manager class for it, but I’m encountering difficulties with the Plugin Framework and database access in Confluence.

Thank you for your time.

发布评论

评论列表(0)

  1. 暂无评论