This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic


keshav reddy

Joined: May 11, 2007
Posts: 13
This is the program:
import java.sql.*;

public class DbConnetIds
public static void main (String [] rags)throws Exception

Connection con = DriverManager.getConnection("jdbc:ids://localhost:12/conn?dsn='oracle_odbc'","bstest02/pin2","pin2");
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("SELECT aac_package FROM account_t WHERE aac_promo_code LIKE 'voip_slp_transitions_09%'");


I am getting following error during run time:
Exception in thread "main" java.lang.ClassNotFoundException: ids.sql.IDSDriver
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at DbConnetIds.main(

Note : I installed IDS server on my my machine,updated the sytem PATH variable.
I am getting similar error with type1 driver.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45348
Please don't post the same question several times. I suggest you use the pencil and paper "edit" icon to edit and delete the surplus postings.
I agree. Here's the link:
subject: jdbc
It's not a secret anymore!