[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •writing a DB connector plugin
Page 1 of 1

writing a DB connector plugin

Posted: 23 Feb 2011 21:24
by equinox
In this linkhttp://wiki.gephi.org/index.php/Plugins_portal, there is a page to create a DB connector, however it is empty.

Can any one give me any details on how to proceed in doing this? I have access to a JDBC of a DB and I would like to use this to write a plugin, pulling out nodes, etc

Re: writing a DB connector plugin

Posted: 24 Feb 2011 03:33
by Yestin
I didn't add a new jdbc driver before, but I think the most related module to add a new jdbc driver is DBDriver. You can get the source code and find it not very hard.
First create a new module and add the dependency of DBDriver http://wiki.gephi.org/index.php/Plugin_ ... 5_minutes). Then you should add the new jdbc driver library to your module. After that, create a new class XXXSQLDriver implements SQLDriver, which is similiar to classes in DBDriver Module. I think that's enough.

Re: writing a DB connector plugin

Posted: 25 Feb 2011 22:20
by equinox
what do you mean by "Then you should add the new jdbc driver library to your module."