| Package | Description |
|---|---|
| net.csdn.jpa.association | |
| net.csdn.jpa.model | |
| test.com.william.model |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Association.add(JPABase model) |
void |
Association.remove(JPABase model) |
boolean |
Association.set(JPABase model) |
| Modifier and Type | Class and Description |
|---|---|
class |
Model
BlogInfo: WilliamZhu
Date: 12-6-26
Time: 下午9:53
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends JPABase> |
Model.create(Map params) |
static <T extends JPABase> |
Model.find(Integer id) |
static <T extends JPABase> |
Model.find(List ids) |
static <T extends JPABase> |
Model.findAll()
Find all entities of this type
|
static <T extends JPABase> |
Model.findById(Object id)
Find the entity with the corresponding id.
|
<T extends JPABase> |
JPABase.m(String methodName,
Object... objs) |
| Modifier and Type | Method and Description |
|---|---|
JPABase |
JPABase.attr(String fieldName,
Object value) |
JPABase |
JPQL.create(Class clzz,
Map<String,Object> params) |
JPABase |
JPQL.findById(Class clzz,
Object id) |
JPABase |
JPQL.findOneBy(String entity,
String query,
Object[] params) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlogTag
User: WilliamZhu
Date: 12-7-23
Time: 下午4:53
|
class |
NewsTag
User: WilliamZhu
Date: 12-8-20
Time: 下午8:17
|
class |
Tag
User: WilliamZhu
Date: 12-7-23
Time: 下午4:52
|
class |
TagGroup
User: WilliamZhu
Date: 12-7-23
Time: 下午4:54
|
class |
TagRelation
User: WilliamZhu
Date: 12-8-20
Time: 下午8:17
目前的限制是,关联关系无法配置在父类中
|
class |
TagSynonym
User: WilliamZhu
Date: 12-7-23
Time: 下午4:54
|
class |
TagWiki
User: WilliamZhu
Date: 12-8-7
Time: 上午8:30
|
Copyright © 2018. All Rights Reserved.