public class GenIdUtil extends Object
Modifier and Type | Field and Description |
---|---|
static Map<Class<? extends GenId>,GenId> |
CACHE |
static ReentrantLock |
LOCK |
Constructor and Description |
---|
GenIdUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
genId(Object target,
String property,
Class<? extends GenId> genClass,
String table,
String column)
生成 Id
|
public static final ReentrantLock LOCK
public static void genId(Object target, String property, Class<? extends GenId> genClass, String table, String column) throws MapperException
target
- property
- genClass
- table
- column
- MapperException
Copyright © 2018. All rights reserved.