connection to database in java
i have a Mysql database named "patterns" created in netbeans and i want know how to connect a database in java .
connection to database in java
===

i have a Mysql database named "patterns" created in netbeans and i want know how to connect a database in java .