This content has been marked as final.
Show 3 replies
-
1. Re: Persistence unitName not specified problem
jaikiran May 19, 2015 4:30 AM (in response to atemiz)What does the relevant code look like? The one where you are injecting the @PersistenceContext
-
2. Re: Persistence unitName not specified problem
andreas_w May 20, 2015 6:23 AM (in response to atemiz)Maybe you forgot to specify which persistence-unit you want to use. You can do this with "unitName".
@PersistenceContext(unitName = <YOUR_PERSISTENCE_UNIT_NAME>)
-
3. Re: Persistence unitName not specified problem
smarlow May 20, 2015 9:39 AM (in response to atemiz)Try adding the "wildfly.jpa.default-unit" property set to true in one of the persistence units. See description here.