It doesn't matter for your own program which type of JDBC driver you use to talk to the database. Your program doesn't have to be modified depending on the type of driver you use.
A driver is a driver, doesn't matter if it's a type 1, 2, 3 or 4 driver. The type only tells you something about how the driver works behind the scenes. Look here for information on the different driver types: Types of JDBC technology drivers.