Mysql SQuirreL SQL客户端是否与QODBC兼容?
有人知道SQuirreL SQL客户端是否与QODBC兼容吗?如果没有,SQuirreL是否有一个插件来启用soMysql SQuirreL SQL客户端是否与QODBC兼容?,mysql,jdbc,odbc,jdbc-odbc,squirrel-sql,Mysql,Jdbc,Odbc,Jdbc Odbc,Squirrel Sql,有人知道SQuirreL SQL客户端是否与QODBC兼容吗?如果没有,SQuirreL是否有一个插件来启用so 如果您有任何见解,我将不胜感激,因为我从未使用过任何一种方法。JDBC受QODBC支持-谢谢! 使用Java ODBC桥接器产品的QODBC驱动程序示例 注意:下面是我们的一位快乐客户的一些示例代码: // QuickBooks variables Connection con =null; Statement stmt = null; ResultSet rs = null; /
如果您有任何见解,我将不胜感激,因为我从未使用过任何一种方法。JDBC受QODBC支持-谢谢!
使用Java ODBC桥接器产品的QODBC驱动程序示例 注意:下面是我们的一位快乐客户的一些示例代码:
// QuickBooks variables
Connection con =null;
Statement stmt = null;
ResultSet rs = null;
// parameters for QuickBooks database
static final String url = "jdbc:odbc:quickbooks";
// "quickbooks" is a System DSN that is the name of the QODBC driver
// On WindowsXP it can be set up at Control Panel > Administrative Tools >
// Data Sources (ODBC)
static final String driver = "sun.jdbc.odbc.JdbcOdbcDriver";
public static void main(String[] args) throws Exception {
InsertCustomers t = new InsertCustomers();
}
public InsertCustomers() throws Exception {
try {
Class.forName(driver);
con = DriverManager.getConnection(url);
stmt = con.createStatement();
System.out.println("Querying QB customer table");
rs = stmt.executeQuery("SELECT * FROM customer");
您需要一个用于QuickBooks的JDBC驱动程序。虽然链接可能很有用,但最好在此处包含主要部分,然后使用链接作为参考,因为更改链接会使您的答案无效。这实际上与SQuirreL SQL或QODBC无关,但仍然很有帮助。