• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

with out registering driver i am getting connection

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
raj talatam
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
reply
    Bookmark Topic Watch Topic
  • New Topic