It's my understanding since JPA 2.0, putting persistence.xml is in the
<EarRoot>/META-INF folder is no longer supported [1]. If that's true, what
is the reasoning? I find it very inconvenient to create a jar file for the
sole purpose of holding this file. It seems rather unintuitive to require
this approach -- more boilerplate.
Can someone explain the technical justification?
[1] JPA 2.1 spec, section 8.2
Cheers,
Paul