|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMySqlErd
Program to create a ERD of some MySQL database. This uses foreign key relationships to render links between tables.
Nested Class Summary | |
static class |
MySqlErd.RecordGeneratingTableProcessor
TableProcessor that generates records for the tables. |
static class |
MySqlErd.RelationGeneratingTableProcessor
TableProcessor that generates records for the tables. |
Constructor Summary | |
MySqlErd()
|
Method Summary | |
static void |
iterateTables(java.sql.Connection dbConnection,
MySqlErd.TableProcessor tableProcessor)
Call a TableProcessor with the name of each table in some
database. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MySqlErd()
Method Detail |
public static void iterateTables(java.sql.Connection dbConnection, MySqlErd.TableProcessor tableProcessor) throws java.sql.SQLException
TableProcessor
with the name of each table in some
database. This will execute a SHOW TABLES query to the server and then
process the results, calling the process
method of the
passed TableProcessor
.
java.sql.SQLException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |