Dear Francesco,
just as an addition to Christian's answer: you can put the jar containing your driver class in the lib directory of the BaseX distribution. Then when you start your BaseX using the bat or shell script, the jar will be added to the classpath.
Regards, Rositsa
On Tue, 27 Dec 2011 00:26:08 +0200, Christian GrĂ¼n christian.gruen@gmail.com wrote:
Dear Francesco,
did you include the PostgreSQL driver in your Java classpath?
Christian ___________________________
On Mon, Dec 26, 2011 at 4:22 PM, Francesco Beretta Francesco.Beretta@ish-lyon.cnrs.fr wrote:
Hi,
I'm trying to initialize a connection to a postgresql database :
Query: sql:init("org.postgresql.Driver") Error: [FOSQ0007] Could not initialize specified driver: 'org.postgresql.Driver'
What is the right syntax to initialize the driver? Could you provide me with an exemple ? Where should I put the jdbc driver jar ?
Many thanks
Francesco Beretta _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk