Hi, i'm experiencing some transaction problems when using spring's HibernateTemplates.

Basically, i do this:

public void addProveedor(IProveedor prov) throws DataAccessException {
getHibernateTemplate().saveOrUpdate(prov);
}

An invocation to this method causes an 'autocommit' behaviour, i mean, prov's data is automatically visible in the DB table.

I'm using MySQL and the table i use is INNODB type.

I don't know what i'm doing wrong. When I run the test in a 'standalone' Hibernate fashion (without Spring) i get the expected behaviour, meaninig that i must explicitly call commit to get the data in the database.

Thanks and sorry for my english