This week's book giveaways are in the Jython/Python and Object-Oriented programming forums. We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line! See this thread and this one for details.
HTTP Status 500 - Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
these are my files
Can you add more details like which request gives you this error. Few lines of the stack trace might also be helpful. One possible issue is that you've marked your DAO as a @Service, but DAOs are supposed to be @Repository...
> > java.lang.IllegalStateException: Already value [org.springframework.orm.hibernate5.SessionHolder@19037196] for key [org.hibernate.internal.SessionFactoryImpl@1a513405] bound to thread [http-bio-2016-exec-5]
> java.lang.IllegalStateException: No value for key [org.hibernate.internal.SessionFactoryImpl@1a513405] bound to thread [http-bio-2016-exec-5]
This other thread you created seems very similar to the problem you are facing here (apart from the database everything else seems to be the same). I'm getting a bit confused, are you facing the same issue in both projects? If yes it would be better to focus on one of them so that it is easier to resolve the issue...