| Package | Description |
|---|---|
| org.nutz.dao |
这是 Nutz 最重要的包之一,它主要围绕着 org.nutz.dao.Dao 接口提供了一系列的功能
|
| org.nutz.dao.impl |
Dao的实现
|
| org.nutz.dao.impl.interceptor |
| Modifier and Type | Method and Description |
|---|---|
static <T> DaoException |
DaoException.create(T obj,
String fieldName,
String name,
Exception e) |
| Modifier and Type | Method and Description |
|---|---|
DaoInterceptorChain |
DaoInterceptorChain.doChain()
继续下一个拦截器,如果已经是最后一个拦截器,那么执行executor.exec
|
void |
DaoInterceptor.filter(DaoInterceptorChain chain) |
| Modifier and Type | Method and Description |
|---|---|
NutTxDao |
NutTxDao.begin(int transLevel)
开启事务
|
| Constructor and Description |
|---|
NutTxDao(Dao _dao)
通过NutDao实例构建一个独立事务的Dao实例
|
| Modifier and Type | Method and Description |
|---|---|
void |
DaoLogInterceptor.filter(DaoInterceptorChain chain) |
void |
DaoTimeInterceptor.filter(DaoInterceptorChain chain) |
Copyright © 2017. All rights reserved.