Forums Register Login

with out registering driver i am getting connection

+Pie Number of slices to send: Send
Hi,
first i tried to connect to db by registering driver i am able, i just commented out the and executed then also i am able.. without registering how i am able to connect to DB

Note: first i set ojdbc jar in the class path;




thanks
rajaendar
+Pie Number of slices to send: Send
JDBC has worked that way since Java 6 (released in 2007, I think). Are you just surprised that it works that way, or are you asking for details about how exactly it's implemented?
+Pie Number of slices to send: Send
 

Paul Clapham wrote:JDBC has worked that way since Java 6 (released in 2007, I think). Are you just surprised that it works that way, or are you asking for details about how exactly it's implemented?


i was just surprised , the way it is working..
actually i ran that code in my person lap mac book pro (eclipse juno).

when i ran same code in my office desktop(windows 7 indigo eclipse ) i am getting this exception


my question is in Enterprise projects is it necessary to register/ driver or leave it like that

thanks
rajendr
Beware the other head of science - it bites! Nibble on this message:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 584 times.
Similar Threads
Query about Connection interface
connecting to Webtrends reporting DB using JDBC-ODBC
Unable to register Derby driver
Oracle10g: java.sql.SQLException: Invalid Oracle URL specified
java.sql.SQLException: No suitable driver
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:29:40.