File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes registering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "registering" Watch "registering" New topic


amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
1.How to connect/register to database without using the drivers?

I tried by using

Not working.

2. How you will connect/register to database without using Class.forName("");?

thanking in advance.

amit bhadre

Thanks advance who ever answers this question.

amit bhadre
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 862
I haven't used oracles driver but typically you would do the following and the driver registers itself (via a static initializer).

Here is an article. - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
subject: registering
It's not a secret anymore!