com.github.drinkjava2.jdialects
Class TableModelUtilsOfDb

java.lang.Object
  extended by com.github.drinkjava2.jdialects.TableModelUtilsOfDb

public abstract class TableModelUtilsOfDb
extends Object

The tool to convert database structure(meta data) to TableModels

Since:
1.0.6
Author:
Yong Zhu

Constructor Summary
TableModelUtilsOfDb()
           
 
Method Summary
static TableModel[] db2Models(Connection con, Dialect dialect)
          Convert JDBC connected database structure to TableModels, note:
1)This method does not close connection
2)This method does not support sequence, foreign keys, primary keys..., but will improve later.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableModelUtilsOfDb

public TableModelUtilsOfDb()
Method Detail

db2Models

public static TableModel[] db2Models(Connection con,
                                     Dialect dialect)
Convert JDBC connected database structure to TableModels, note:
1)This method does not close connection
2)This method does not support sequence, foreign keys, primary keys..., but will improve later.



Copyright © 2018. All rights reserved.