Project 2: JDBC Querying the Java Package Database

Due Friday, November 7, 5pm

In this project, you will write SQL queries (as parameterized JDBC queries) that will process at minimum the following set of queries, where parameter values are underlined.  Note your program should be able to allow ANY string inputs for these parameters, not just the values shown below:

In addition to non-transitive queries (above), there are also interesting transitive queries:

You will need to consult the notes on Oracle's recursive queries (see lecture notes).  I suggest that you debug your queries with SQL Developer before you start coding.

Standard Data Sets

Test your queries on the database that is the union of the data from ClassReader.jar and EPL.jar, which you formed in the last assignment.

What to Submit

 

You must submit a Java command line program that prompts for (a) the specific query to be executed, (b) accepts parametric inputs to be given, and (c) outputs the tuples that satisfy the query.

Note: your programs must be runnable on machines in the microlab.  If they don't run there, you get no credit.