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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC on Java Application on Fedora
 
Similar Threads
Class.forName("..");
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0
JDBC
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0