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/21 21:34:00 UTC

[jira] [Closed] (DELTASPIKE-1446) Delta Spike EntityManagerConfig to support the Multiple Entity manager throws exception

     [ https://issues.apache.org/jira/browse/DELTASPIKE-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rasesh Chauhan closed DELTASPIKE-1446.
--------------------------------------
    Resolution: Invalid

> Delta Spike EntityManagerConfig to support the 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
>            Priority: Blocker
>              Labels: newbie
>
> 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)