|
|
Choosing A Webhost: |
- Connecting to Linux ODBC DSN from Java: msg#00055db.unixodbc.devel
Hi, I am trying to connect to PostgreSQL data from Java program via the ODBC DSN in Linux using the following code: Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver"); conn = DriverManager.getConnection("jdbc:odbc:DSNpgsql","postgres",""); When I run the code in Linux I get [ java.sql.SQLException: No suitable driver ] error. Is there a windows equivalent of sun.jdbc.odbc.JdbcOdbcDriver driver for Linux (Red Hat 9). Thanks Mohammed ---------------------------------------------------------------------------- ------------ This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------- ------------
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: - Installin unixodbc on redhat 7.2, Nick Gorham |
|---|---|
| Next by Date: | Re: - Connecting to Linux ODBC DSN from Java, Nick Gorham |
| Previous by Thread: | - Installin unixodbc on redhat 7.2, Chhai Thach |
| Next by Thread: | Re: - Connecting to Linux ODBC DSN from Java, Nick Gorham |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |