Question

I've read in several places that if you are using Java 1.6 then you should use type 4 JDBC drivers. Does that mean that you should not use type 3 drivers?

Was it helpful?

Solution

Type 4 drivers are generally much preferred, for reasons of simplicity. No native code, and no middleware.

However, other driver types are still perfectly valid, they're just more effort to set up. If you need to use them, then don't be afraid to do so.

OTHER TIPS

It probably just means that if you can, you might as well take advantage of the extra feature set provided by JDBC 4 if you are using Java 1.6...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top