Skip to content

Latest commit

 

History

History
 
 

tasks-jdbc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Tasks - JDBC

A project containing basic examples using Java Database Connectivity JDBC. These are just examples for understanding JDBC workflow and basic API and should NOT be used in any production application. As some critical accepts of production environment, like connection pool, proper exception handling, etc. are not handled.

Run

To compile

mvn compile 

To clean and compile

mvn clean compile

To execute -

mvn exec:java -Dexec.mainClass="class-path-to-main"

Here, class-path-to-main is fully qualified class path to a class containing to public static void main(String []args) method. For example, edu.utd.dspl.InitialExample, edu.utd.dspl.tasks.PreparedStatementExample, edu.utd.dspl.tasks.TransactionExample.

Reference