public class CodeGenerateUtils extends Object
| 构造器和说明 |
|---|
CodeGenerateUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
findTableComment(Connection connection) |
Set<String> |
findTables(Connection connection) |
void |
generate() |
Connection |
getConnection() |
protected String |
getSerialVersionUID()
生成serialVersionUID
|
void |
init(GeneratorModel generatorModel) |
void |
initTableMapName() |
String |
replaceUnderLineAndUpperCase(String str) |
public void initTableMapName()
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
SQLExceptionprotected String getSerialVersionUID()
Copyright © 2023. All rights reserved.