aspose file tools*
The moose likes JDBC and the fly likes JDBC on Java Application on Fedora Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC on Java Application on Fedora" Watch "JDBC on Java Application on Fedora" New topic
Author

JDBC on Java Application on Fedora

Panagiotis Panais
Greenhorn

Joined: Sep 30, 2005
Posts: 1
He all!

I have a java-application on Linux, and i want to make this application to communicate with a postgresql database. How can i setup my JDBC driver on Linux, so mt application can see my database?

On Windows is very easy with JDBC/ODBC but on Linux

Thanks everyone!
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

Hi,

Welcome to Java Ranch.

You need to use a Postgres JDBC driver rather than the JdbcOdbc driver. The rest of your code should be the same, i.e. you shouldn't need to change it for different drivers.

Have a look at this.
 
jQuery in Action, 2nd edition
 
subject: JDBC on Java Application on Fedora