I needd one aclaration, i am confused.
i have this.
public void insertar(String statementName, Object parameterObject){
try{
daoManager.startTransaction();
insert(statementName, parameterObject);
insert(statementName, parameterObject);
insert(statementName, parameterObject);
insert(statementName, parameterObject);
daoManager.commitTransaction();
}catch(Exception e){
}finally{
daoManager.endTransaction();
}
}
i start transaction and commit it if there is not exception
but if there is one exception into one insert the systems makes one roolback?
example if into the 3. insert there is one exception the 2 and 1 insert
rolls back?
or how can i say to rollback?
thanks