Make sense having it on JPA module and not on Repository. IMHO. +1 :)
On Wed, Mar 16, 2016 at 2:25 AM, Thomas Andraschko < andraschko.tho...@gmail.com> wrote: > Hi, > > currently it's not possible to access the persistence.xml properties via > JPA API. > As we have some code to do this (PersistenceUnitReader, PersistenceUnit, > PersistenceUnits), we could provide it in the JPA module API. > > I would need it in my applications to check if HSQL used and switch the > location. > > WDYT? > > Regards, > Thomas > -- Daniel Cunha https://twitter.com/dvlc_ http://www.tomitribe.com http://www.tomitribe.io