Skip to content

Conversation

jonenst
Copy link
Contributor

@jonenst jonenst commented Jul 4, 2022

The hashset is copied in toDto other we get
"Found shared references to a collection org.hibernate.HibernateException"
during the clone

Signed-off-by: HARPER Jon [email protected]

@jonenst jonenst requested a review from SlimaneAmar July 4, 2022 14:56
@@ -580,7 +580,6 @@ private CreatedStudyBasicInfos insertStudy(UUID studyUuid, String userId, Networ
return createdStudyBasicInfos;
}

@Transactional
public CreatedStudyBasicInfos insertDuplicatedStudy(BasicStudyInfos studyInfos, StudyEntity sourceStudy, LoadFlowParametersEntity newLoadFlowParameters, String userId, UUID clonedNetworkUuid) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

…eate

The hashset is copied in toDto other we get
"Found shared references to a collection org.hibernate.HibernateException"
during the clone

Signed-off-by: HARPER Jon <[email protected]>
@jonenst jonenst force-pushed the fixraceduplicate branch from 8437ebb to 647af4c Compare July 5, 2022 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants