Sharing databases between projects within Intellij

后端 未结 6 2185
死守一世寂寞
死守一世寂寞 2021-02-03 18:47

I use Intellij to inspect databases, run sql, view data in tables etc. This all works fine but the only thing I am missing is the ability to define these datasources once and vi

6条回答
  •  隐瞒了意图╮
    2021-02-03 19:04

    Go to the Database tool window and click on the Data Source Properties button. Select the data source you want to make global. Click on the Make Global button in the tool bar above.

    The Make Global button looks like this:

    Make global button

    Now you can use the data source from all your projects. However a global data source is not stored in the project files, so any other developers working on the same project will need to define their own data source.

提交回复
热议问题