Modifier and Type | Field and Description |
---|---|
(package private) int |
numRows |
Constructor and Description |
---|
WisconsinFiller() |
WisconsinFiller(int nRows) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
dropTable(java.sql.Connection c,
java.lang.String table)
Helper method which drops a table if it exists.
|
void |
fill(java.sql.Connection c)
Populate the database with the data needed by a test.
|
public WisconsinFiller(int nRows)
public WisconsinFiller()
public void fill(java.sql.Connection c) throws java.sql.SQLException
DBFiller
static void dropTable(java.sql.Connection c, java.lang.String table) throws java.sql.SQLException
c
- the connection to usetable
- the table to dropjava.sql.SQLException
- if an unexpected database error occursApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.