public class DisableGenerator extends Object implements PrimaryGenerator
PrimaryGenerator.GENERATOR| 构造器和说明 |
|---|
DisableGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
create(Object entity,
DatabaseType type,
String table,
LinkedHashMap<String,Column> columns,
String other) |
boolean |
create(Object entity,
DatabaseType type,
String table,
List<String> columns,
String other)
生成主键值并完成赋值
|
public boolean create(Object entity, DatabaseType type, String table, List<String> columns, String other)
PrimaryGeneratorcreate 在接口中 PrimaryGeneratorentity - entity或DataRowtype - 数据库类型table - 表columns - 主键, 有可能是空, 可以通过EntityAdapterProxy提取other - 其他参数public boolean create(Object entity, DatabaseType type, String table, LinkedHashMap<String,Column> columns, String other)
create 在接口中 PrimaryGeneratorCopyright © 2025. All rights reserved.