Hibernate persist without transaction
<p>I was following a tutorial on Hibernate and saw the following code:</p>



<pre><code>package com.websystique.spring.dao;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;

public abstract class AbstractDao {

    @Autowired
    private SessionFactory sessionFactory;

    protected Session getSession() {
        return sessionFactory.getCurrentSession();
    }

    public void persist(Object entity) {
        getSession().persist(entity);
    }

    public void delete(Object entity) {
        getSession().delete(entity);
    }
}
</code></pre>

<p>I was wondering if <code>persist()</code> (or <code>save()</code> or <code>delete()</code>) can be used without a transaction? As it seems to be the case here.</p>