The moose likes Other JSE/JEE APIs and the fly likes jdbc connection through Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "jdbc connection through " Watch "jdbc connection through " New topic
Author

jdbc connection through

sukdev painuly
Greenhorn

Joined: Oct 02, 2001
Posts: 2
Hello
i'm using java mail API to make an application which will send and receive mails.i'm using java mail server.Now i want to do the jdbc settings in the mail server config panel.
there r two textfields to be filled:
1. jdbc driver class name : sun.jdbc.odbc.JdbcOdbcDriver
2. URL to access database : ???
i want to know the URL.
on giving URL it gives error saying the URL is either wrong or incomplete.
please help.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
You could use a jdbc-odbc bridge. Suppose you create a odbc-connection to your access database called "my_odbc_connection" then use this line:
jdbc dbc:my_odbc_connection
regards,
/Peter
 
 
subject: jdbc connection through
 
Threads others viewed
Export to excel using JSP
How we know which JDBC version we are using
JDBS first timer
Setting the importance of a mail using java mail API
URL settings in Java Mail server
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture