SSH error information:HTTP Status 500 – Internal Server ErrorType Exception ReportMessage 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.Description The server encountered an unexpected condition that prevented it from fulfilling the request.
SSH error cause:
SSH error solution:
Use annotation above the class where the method in the class deals with database.