Skip to content

Commit

Permalink
use constructor for EM injection in DefaultObjectBundleService
Browse files Browse the repository at this point in the history
  • Loading branch information
vietnguyen committed Nov 15, 2023
1 parent 91e9cae commit 3b49c68
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.util.Map;
import java.util.concurrent.atomic.AtomicReference;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.hibernate.Session;
Expand Down Expand Up @@ -79,7 +78,7 @@ public class DefaultObjectBundleService implements ObjectBundleService {
private final CurrentUserService currentUserService;
private final PreheatService preheatService;
private final SchemaService schemaService;
@PersistenceContext private EntityManager entityManager;
private final EntityManager entityManager;
private final IdentifiableObjectManager manager;
private final DbmsManager dbmsManager;
private final HibernateCacheManager cacheManager;
Expand Down

0 comments on commit 3b49c68

Please sign in to comment.