XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Paul HermansSubject: [DataDirect][XQuery]Failed to make a JDBC connection to "Objecten". Cause: [DataDirect][XQuery]No suitable driver
Author: Paul Hermans
Date: 14 Apr 2006 07:46 AM

Latest Enterprise Release 2 version.

Building an XQuery using two collections using the DataDirect Sequelink connection to 2 MS Access tables.
Running the XQuery with the built-in processor works.
Running the same Query with the DataDirect XQuery engine results in following error message:

com.ddtek.xquery.XQException: [DataDirect][XQuery]Failed to make a JDBC connection to "Objecten". Cause: [DataDirect][XQuery]No suitable driver

at com.ddtek.xquery.xqj.Util.XQException(Util.java:198)

at com.ddtek.xquery.xqj.mediator.DDXQConnection.<init>(DDXQConnection.java:111)

at com.ddtek.xquery.xqj.mediator.DDXQDataSource._getConnection(DDXQDataSource.java:928)

at com.ddtek.xquery.xqj.mediator.DDXQDataSource.getConnection(DDXQDataSource.java:424)

Caused by: com.ddtek.xquery.util.XQueryException: [ME0022][DataDirect][XQuery]Failed to make a JDBC connection to "Objecten". Cause: [DataDirect][XQuery]No suitable driver

at com.ddtek.xquery.mediator.SqlAdapter.connect(SqlAdapter.java:74)

at com.ddtek.xquery.mediator.MediatorConnection.connectAllSqlAdapters(MediatorConnection.java:225)

at com.ddtek.xquery.mediator.MediatorConnection.connect(MediatorConnection.java:89)

at com.ddtek.xquery.xqj.mediator.DDXQConnection.<init>(DDXQConnection.java:109)

... 2 more

Caused by: com.ddtek.xquery.util.XQueryException: [EX0043][DataDirect][XQuery]No suitable driver

at com.ddtek.xquery.extractor.ExtractorDataSource.getConnection(ExtractorDataSource.java:208)

at com.ddtek.xquery.mediator.SqlAdapter.connect(SqlAdapter.java:70)

... 5 more

Caused by: java.sql.SQLException: No suitable driver

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at com.ddtek.xquery.extractor.ExtractorDataSource.createJDBCConnection(ExtractorDataSource.java:233)

at com.ddtek.xquery.extractor.ExtractorDataSource.getConnection(ExtractorDataSource.java:170)

... 6 more

Minollo I.Subject: [DataDirect][XQuery]Failed to make a JDBC connection to
Author: Minollo I.
Date: 14 Apr 2006 09:11 AM
DataDirect XQuery doesn't support Sequelink drivers.

You can run the query with DataDirect XQuery using the doc() function to wrap the Sequelink connection, so that the Stylus Studio URI resolver can recognize it - even if that will make DataDirect XQuery see the data source as a normal XML document, and not use its relational optimizations...


Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.