Hi, static final String DRIVER ="org.basex.api.xqj.BXQDataSource"; Why use the class org.basex.api.xqj.BXQDataSource??? In JDBC driver is associated with a database. Why in XQJ I use a class??? Sorry for my English...i'm Italian.
static final String DRIVER ="org.basex.api.xqj.BXQDataSource"; Why use the class org.basex.api.xqj.BXQDataSource??? In JDBC driver is associated with a database. Why in XQJ I use a class???
In JDBC you're as well referencing the driver implementation. This is how you instantiate e.g. MySQL with JDBC:
Class.forName("com.mysql.jdbc.Driver").newInstance();
Regards, Christian ___________________________
Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen
basex-talk@mailman.uni-konstanz.de