I have to create a new table in sonar database to develop my plugin.
Is it possible to create a new table in sonar database using java.
I have to create a new table in sonar database to develop my plugin.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should not try to extend Sonar DB when developing a plugin, otherwise this will cost you a lot when doing the successive migrations to future versions of Sonar.
Instead, you should use Sonar API to achieve what you want. And if you miss some features, then you can come and discuss it on Sonar DEV mailing-list.
But I advise you not to try to do some fancy stuff with the DB, that will cost you a lot of effort to maintain in the future.