API for database connection tab

Hi,

I was wondering whether there is any API for the database connections view. What I'd like to do is add database connections programmatically, i.e. from an external SquirrelSQL configuration.

Thanks,
Matthias

2 comments
Comment actions Permalink

Well, I suppose one way of achieving the behaviour will be registering an extension point:
com.intellij.database.autoconfig.DataSourceDetector
(coming from database-impl.jar)

I'll have a try with that ...

0
Comment actions Permalink

If some else is looking for the same question - you might want to have a look at PersistenceSupport/lib/persistence-impl.jar for an example.

0

Please sign in to leave a comment.