File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
calling classforname twice
Joined: Mar 06, 2008
Mar 19, 2010 01:35:23
what happens when do a classforname("jdbc...driver") twice with two different drivers and then excecute a connection
Joined: Mar 22, 2005
Mar 19, 2010 02:13:08
You can use Class.forName with as many classes as you like,
drivers or others - it has no impact on JDBC functionality.
Joined: May 14, 2008
Mar 19, 2010 13:54:15
See also this recent discussion:
JBoss In Action
I agree. Here's the link:
subject: calling classforname twice
Boolean || operator
Connecting to Database without a DSN
I've tried everything
How Class.ForName() actually creates new object internally passed in argument ?
After loading many drivers how to use specific?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015