- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
/**
* Delete. *
* @param entity the entity
* @return true, if successful
*/
public boolean delete(T entity) {
boolean deleted=false;
getSession().delete(entity);
flush();
//when no hibernate runtime exception has arised...set to true.
deleted = true;
return deleted;
}
Lure Of Chaos 21.12.2010 18:44 # 0
absolut 22.12.2010 15:44 # −1
KomprendaTerrorSquad 21.12.2010 19:42 # −10
KomprendaTerrorSquad 21.12.2010 19:51 # −11