Re: JINI service for oracle db
Gregg Wonderly <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Luis Arce wrote: > I resolved the problem (inspiration moment), i make the next steps, > > change the Class.forName for DriverManager.registerDriver(new > oracle.jdbc.driver.OracleDriver()); > and add the ojdb14.jar in jre/lib/ext, it is no elegantly solution, but > work fine!. Ahhh, yes, DriverManager.getInstance() only looks in the app classloader or extensions. My JDBC library uses Driver instances directly since the driver class name is always passed around anyways. The check they are making is an attempt, it seems, to keep people from downloaded JDBC drivers in applets. The trouble is that they are java classes which can be instantiated and used directly anyways. Glad you got it working! Gregg Wonderly -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]