wood burning stoves 2.0*
The moose likes JDBC and the fly likes User/system DSN in Ubuntu 12.04 for Oracle XE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "User/system DSN in Ubuntu 12.04 for Oracle XE" Watch "User/system DSN in Ubuntu 12.04 for Oracle XE" New topic

User/system DSN in Ubuntu 12.04 for Oracle XE

shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 63

I am a new user of ubuntu 12.04 and installed oracle database XE in it but need to connect it to my simple JDBC program where it requires user dsn .
I am not able to find any solution on the net as tried last few hours and want to complete the project as soon as possible.
Kindly guide me to create a user/System dsn in ubuntu 12.04 for oracle XE.

with regards,
Shivdhway Pandey
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3606

It looks like you're trying to use ODBC, but the correct way would be to connect to the database using Oracle's own JDBC driver. You don't need DSN for that. You'd just modify the connection string in your program. Have a look at oracle xe jdbc connect string to find out what the connect string should look like.
I agree. Here's the link: http://aspose.com/file-tools
subject: User/system DSN in Ubuntu 12.04 for Oracle XE
Similar Threads
Tomcat 7 and Ubuntu 12.04
Blank screen while installing Ubuntu 12.04
Tomcat6 giving 404 on Ubuntu-12.04 LTS
Error while booting ubuntu 12.04 gui bootup
How to install JavaFx in Ubuntu 12.04?