Help with connection to database

Someone can help with my connection to database
Where is it suppose to set the driver for database, iam using IDEA 3.0.4.}
this is the error:
select * from products
Error creating class: com.jnetdirect.jsql.JSQLDriver
Closing connections...
java.lang.NullPointerException
at nuevo.Pricing.main(Pricing.java:124)
Exception in thread "main" Process terminated with exit code 1

Please sign in to leave a comment.