This is a fairly straightforward question but I couldn't find a proper answer for it.
I have set a few environment variables in my Elastic Beanstalk environment. The application deployed is a Java Webapp built using JPA (EclipseLink).
I want to access these variables from my persistence.xml file so I can run the application in different environments by just passing environment variables instead of modifying persistence.xml every time.
Is there some way to do this?
Thank you