; SQL state [HY000]; error code [1290]; The MySQL server is running with the --read-only option so itrunning with the --read-only option so it cannot execute this statement
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(Hibern
occurred: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-onlyat org.springframework.orm.hibernate5.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1126)
at org.springframework.orm.
Transactional(readOnly=false) System.out.println ( "Read-only] Read-only?: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into:750)
by: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-onlyat org.springframework.orm.hibernate4.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:826)
at org.springframework.orm.hibern