Skip to content

Commit

Permalink
chore: copyright and author
Browse files Browse the repository at this point in the history
Signed-off-by: Joris Mancini <[email protected]>
  • Loading branch information
TheMaskedTurtle committed Feb 6, 2024
1 parent 4cb6b5f commit b7846eb
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2024, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.gridsuite.modification.server.repositories;

import org.gridsuite.modification.server.ModificationType;
Expand All @@ -10,6 +16,9 @@
import java.util.List;
import java.util.UUID;

/**
* @author Joris Mancini <joris.mancini_externe at rte-france.com>
*/
@Repository
public class TabularModificationRepository {

Expand Down Expand Up @@ -52,7 +61,7 @@ public TabularModificationRepository(
this.voltageLevelModificationRepository = voltageLevelModificationRepository;
}

@Transactional // To have the 2 delete in the same transaction (atomic)
@Transactional
public void deleteAll() {
batteryModificationRepository.deleteAll();
generatorModificationRepository.deleteAll();
Expand Down

0 comments on commit b7846eb

Please sign in to comment.