Skip to content

Commit

Permalink
Back to injecting both EMs using custom annotation.
Browse files Browse the repository at this point in the history
Signed-off-by: Scott M Stark <[email protected]>
  • Loading branch information
starksm64 committed Nov 13, 2024
1 parent e681a16 commit d40abfa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
public class TestBeanEM {
Logger logger = Logger.getLogger(TestBeanEM.class.getName());

@PersistenceContext(unitName = "CTS-EM")
//@CtsEmQualifier
//@Inject
//@PersistenceContext(unitName = "CTS-EM")
@CtsEmQualifier
@Inject
private EntityManager em1;
//@PersistenceContext(unitName = "CTS-EM2")
@CtsEmQualifier
Expand Down

0 comments on commit d40abfa

Please sign in to comment.