Flushing the entity manager.

deploy_packages_to_gitea
Jens Pelzetter 2023-01-28 08:13:09 +01:00
parent 8e00655c23
commit 9966f30c9a
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public abstract class AbstractEntityImExporter<T extends Exportable> {
* @see #updateExistingEntity(org.libreccm.imexport.Exportable, * @see #updateExistingEntity(org.libreccm.imexport.Exportable,
* org.libreccm.imexport.Exportable) * org.libreccm.imexport.Exportable)
*/ */
@Transactional(Transactional.TxType.REQUIRED) @Transactional(Transactional.TxType.REQUIRES_NEW)
public T importEntity(final String data) throws ImportExpection { public T importEntity(final String data) throws ImportExpection {
try { try {
final T importedEntity = objectMapper.readValue(data, final T importedEntity = objectMapper.readValue(data,