Question: How do i delete all the tables in the schema on Apache Derby DB using JDBC?

Answer: 
For actual code that does this, check [CleanDatabaseTestSetup.java](http://svn.apache.org/viewvc/db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/junit/CleanDatabaseTestSetup.java?view=markup) in the Derby test suite section of the Derby distribution.
JDBC allows you to solve your task in a database agnostic way:

1. Open the connection
2. Grab the DatabaseMetaData
3. Use it to list all tables in your database [JavaDoc](http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getTables(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String[]))
4. Iterate over the resultset and fire the DROP TABLE for each table