Closed mpgxvii closed 5 months ago
cascadetype
Message
saveAllAndFlush
Error logs:
: Unexpected error occurred in scheduled task org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.radarbase.appserver.entity.Notification.task -> org.radarbase.appserver.entity.Task
cascadetype
inMessage
class to ensure transient task entities are savedsaveAllAndFlush
instead of using separate methodsError logs: