Hi,
it’s been a while since i’d used JPA with axon, but i had the same thoughts as you back then.
I uploaded my persistence.xml and the orm.xml 's to GitHub:
https://github.com/JohT/snippets/tree/master/axon-customized-jpa
I’m not sure if it still works that way, but maybe its helpful to you…
Best Regards, Johnny.