SQuirreL SQL Client是否与QODBC兼容?(Is SQuirreL SQL Client compatible with QODBC?)

编程入门 行业动态 更新时间:2024-10-26 14:32:38
SQuirreL SQL Client是否与QODBC兼容?(Is SQuirreL SQL Client compatible with QODBC?)

有谁知道SQuirreL SQL Client是否与QODBC兼容? 如果没有,SQuirreL有一个插件可以启用吗?

任何见解都会受到赞赏,因为我从来没有使用过。

Does anyone know if the SQuirreL SQL Client is compatible with QODBC? If not is there a plugin for SQuirreL to enable so?

Any insight would be appreciated as I have never used either.

最满意答案

使用Java ODBC Bridge产品的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");

An Example of QODBC Driver working with the Java ODBC Bridge Product

Note: Below are some example code from one of our happy customers:

// 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");

更多推荐

本文发布于:2023-08-07 19:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465932.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SQL   SQuirreL   Client   compatible   QODBC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!