A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
Ping & DNS, my free Android app for network diagnostics
Joined: May 14, 2008
Mar 19, 2010 13:54:15
See also this recent discussion:
JBoss In Action
It is sorta covered in the
JavaRanch Style Guide
subject: calling classforname twice
After loading many drivers how to use specific?
Connecting to Database without a DSN
How Class.ForName() actually creates new object internally passed in argument ?
Boolean || operator
I've tried everything
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014