adutra opened a new pull request, #613:
URL: https://github.com/apache/polaris/pull/613

   I turns out it is actually possible to read a persistence.xml file directly 
from the filesystem. 
   
   The trick is that it must be in a directory that will be considered as the 
"archive directory"; the `eclipselink.persistencexml` property _must_ point to 
the path of the file relative to the archive directory's parent. E.g. if the 
persistence file is in `/config/persistence.xml`, the archive directory is 
`/config` and the `eclipselink.persistencexml` property must be 
`config/persistence.xml`.
   
   This PR builds on that observation and expands the allowed locations for a 
persistence.xml file to the following ones:
   
   1. Classpath resource
   2. Classpath resource, embedded in a jar
   3. Filesystem path
   4. Filesystem path, embedded in a jar
   
   Note: this PR does not modify the Helm chart, but we could look into 
simplifying it to use plain files instead of jars.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to