public class CodeGenerateUtils extends Object
| 构造器和说明 |
|---|
CodeGenerateUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete() |
Map<String,String> |
findTableComment(Connection connection) |
Set<String> |
findTables(Connection connection) |
void |
generate() |
Connection |
getConnection() |
File |
getModelFile() |
protected String |
getSerialVersionUID()
生成serialVersionUID
|
void |
init(GeneratorModel generatorModel) |
String |
replaceUnderLineAndUpperCase(String str) |
public Connection getConnection() throws Exception
Exceptionpublic void init(GeneratorModel generatorModel)
public Set<String> findTables(Connection connection) throws SQLException
SQLExceptionpublic Map<String,String> findTableComment(Connection connection) throws SQLException
SQLExceptionpublic File getModelFile()
protected String getSerialVersionUID()
Copyright © 2022. All rights reserved.