You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Rasesh Chauhan (Jira)" <ji...@apache.org> on 2021/12/18 00:01:00 UTC

[jira] [Created] (DELTASPIKE-1446) Delta Spike EntityManagerCofig to support for Multiple Entity manager throws exception

Rasesh Chauhan created DELTASPIKE-1446:
------------------------------------------

             Summary: Delta Spike EntityManagerCofig to support for Multiple Entity manager throws exception
                 Key: DELTASPIKE-1446
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1446
             Project: DeltaSpike
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: JPA-Module
    Affects Versions: 1.9.3
            Reporter: Rasesh Chauhan


I have the Multiple Entity Manger declared in a producer class. To differential two Entity managers it is using Qualifiers and I have added corresponding EntityManagerResolver classes.

 

On the Repository interfaces - I added the annotation for EntityManagerConfig and assigning resolver class.

 

During Runtime it throws an exception - NullPointerException at EntityManagerMetadata.processEntityManagerConfig(line #132)

 

Please let me if this a bug or I am missing some code to add. Thank you



--
This message was sent by Atlassian Jira
(v8.20.1#820001)