-
Type:
Enhancement
-
Status: Verified (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 7.0.0.GA
-
Fix Version/s: 7.1.0.DR1
-
Component/s: JPA / Hibernate
-
Labels:None
-
Target Release:
-
Git Pull Request:
-
Affects:Release Notes
-
Release Notes Docs Status:Documented as Known Issue
-
Bugzilla References:
-
Bugzilla Update:Perform
ookup of env-entry throws NameNotFoundException during persistence unit startup
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. add env-entry in application.xml
2. try to lookup during persistent unit startup, e.g.
public class MyType implements UserType {
...
@Override
public int[] sqlTypes() {
try
catch (Exception e)
{ log.error("unable to get java:app/env from JPA", e); }return new int[]
{ Types.VARCHAR };
}
Actual results:
NameNotFoundException
Expected results:
value of env-entry is available
Additional info:
On 21.03.2016 23:47, Stuart Douglas wrote:
> This should fix it (I think): https://github.com/stuartwdouglas/wildfly/tree/jpa-java-namespace
>
> Stuart
- blocks
-
JBEAP-9061 EAP 7.1 Alpha Release Notes Fixed Issues Tracker
-
- Closed
-
- cloned to
-
WFLY-6441 naming context is not setup when starting the persistence unit
-
- Closed
-
- is blocked by
-
WFLY-6441 naming context is not setup when starting the persistence unit
-
- Closed
-