java.lang.Exception: Fail to write entity ClassHelper at com.fr.decision.backup.BackUpContext.write(Unknown Source) at com.fr.decision.backup.AbstractBackUpRecoveryContext.write(Unknown Source) at com.fr.decision.backup.AbstractBackUpRecoveryContext.transfer(Unknown Source) at com.fr.decision.backup.BackUpContext.backUp(Unknown Source) at com.fr.decision.webservice.v10.backup.module.BaseModuleBackup.backupDB(Unknown Source) at com.fr.decision.webservice.v10.backup.module.ConfigBackup.extensionalBackup(Unknown Source) at com.fr.decision.webservice.v10.backup.module.BaseModuleBackup.backup(Unknown Source) at com.fr.decision.webservice.v10.backup.module.BaseModuleBackup.backup(Unknown Source) at com.fr.decision.webservice.v10.backup.BackupService.lambda$manualBackup$0(Unknown Source) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.fr.third.org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [com.fr.config.entity.ClassHelper#TableDataConfig.tableDatas.组织权限_特钢财务组织 __BL__] at com.fr.third.org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:169) at com.fr.third.org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:125) at com.fr.third.org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189) at com.fr.third.org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132) at com.fr.third.org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58) at com.fr.third.org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:777) at com.fr.third.org.hibernate.internal.SessionImpl. |