Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: New Oracle driver connect problem
In article <33C113E5.464E_at_erols.com> Martin Smith, mfsmith_at_erols.com
writes:
>I'm having trouble getting the new Oracle type 4 driver ("thin") to
>work.
I couldn't tell from the snippet, so here goes:
did you do a Class.forName before calling getConnection()? For type 4 drivers (and for others too, I assume) you need to do this so the driver can register with the DriverManager.
![]() |
![]() |