org.springframework.dao.InvalidDataAccessApiUsageException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problema de FlushMode
    via by Sávio Canuto,
  • String-Hibernate read-only mode (FlushMode.NEVER)
    via by Nina Anderson,
  • InvalidDataAccessApiUsageException - Spring Forum
    via by Unknown author,
    • org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition. at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1090) at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:629) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367) at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:627)
    No Bugmate found.