public interface IDBGenerator
| Modifier and Type | Method and Description |
|---|---|
List<DBTable> |
scanEntity(String scanPackage)
扫描@Table类
|
void |
setSyncAction(EnumSyncAction syncAction) |
void |
syncTable(Connection conn,
DBTable table)
同步数据库表
|
void |
syncTable(Connection conn,
DBTable table,
int num)
批量同步数据库表.
|
List<DBTable> scanEntity(String scanPackage) throws IOException, ClassNotFoundException
scanPackage - IOExceptionClassNotFoundExceptionvoid syncTable(Connection conn, DBTable table) throws DDLException
table - DDLExceptionvoid syncTable(Connection conn, DBTable table, int num) throws DDLException
conn - 数据库连接.table - 库表num - 需要生成的分表数DDLExceptionvoid setSyncAction(EnumSyncAction syncAction)
Copyright © 2015. All rights reserved.