README.md 923 Bytes
Newer Older
Bruce Link's avatar
Bruce Link committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Applications to illustrate JDBC using TSHIRTS database and inventory databases.

SQL files for creating databases in src/main/resources.

After creating databases on local machine, applications can be run using 
mvn mvn exec:java -Dexec.mainClass="TheClass"

The following classes should work:
ca.bcit.infosys.jdbcexamples.inventory.ConnectionExample
ca.bcit.infosys.jdbcexamples.inventory.ConnectionWithProperties
ca.bcit.infosys.jdbcexamples.inventory.Test
ca.bcit.infosys.jdbcexamples.tshirts.ConnectToDatabase
ca.bcit.infosys.jdbcexamples.tshirts.SimpleStatementExample
ca.bcit.infosys.jdbcexamples.tshirts.SimplePreparedStatementExample
ca.bcit.infosys.jdbcexamples.tshirts.ResultSetExample
ca.bcit.infosys.jdbcexamples.tshirts.DatabaseMetaDataExample
ca.bcit.infosys.jdbcexamples.tshirts.Main

The following class has not been debugged and does not work:
ca.bcit.infosys.jdbcexamples.tshirts.CallableStatementExample