Re: JDBC Driver 1.22
Posted in 1999
Try registering the driver as: DriverManager.registerDriver((Driver) Class.forName("com.informix.jdbc.IfxDriver").newInstance()); Best Regards, Octav Mathias Kalb wrote: > > I use the Informix JDBC Driver (Version 1.22) to connect to an Informix > database (Dynamic Server, 7.x) from within a Java application (JDK Version > 1.1.6). At first, I load the driver with the method: > Class.forName("com.informix.jdbc.IfxDriver"); > > But when I try to get a connection, I only get an error message: > "No suitable driver" > conn=DriverManager.getConnection("jdbc:informix-sqli://....."); > > Thank you for any reply, > Mathias Kalb -- Octav Chiriac Phone: (373) 2 22 99 67 NetInfo S.R.L. Fax: (373) 2 21 36 59 Chisinau (373) 2 22 84 88 Moldova, Republic of mailto:com@netinfo-moldova.com