| Package | Description |
|---|---|
| nc.ird.cantharella.data.dao | |
| nc.ird.cantharella.data.dao.utils |
| Modifier and Type | Method and Description |
|---|---|
<M extends AbstractModel> |
GenericDao.create(M model)
Create a model
|
<M extends AbstractModel> |
GenericDao.createOrUpdate(M model)
Create or update a model
|
<M extends AbstractModel> |
GenericDao.delete(Class<M> modelClass,
Serializable id)
Delete a model
|
<M extends AbstractModel> |
GenericDao.delete(M model)
Delete a model
|
int |
GenericDao.execute(String sqlQuery,
Object... parameters)
Execute SQL query.
|
<M extends AbstractModel> |
GenericDao.update(M model)
Update a model
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericDaoAspect.afterThrowing(org.springframework.dao.DataIntegrityViolationException e)
Convert a DataIntegrityViolationException into a DataConstraintException
|
Copyright © 2009-2013 IRD. All Rights Reserved.