As I keep finding myself searching for orm.xml templates as well as persistence.xml templates for JPA 1.0 and JPA 2.0, I decided to post them here for my own reference and others to find 😉
JPA 1.0 orm.xml and persistence.xml templates
orm.xml template for JPA 1.0
persistence.xml template for JPA 1.0
JPA 2.0 orm.xml and persistence.xml templates
orm.xml template for JPA 2.0
persistence.xml template for jpa 2.0
With these templates your favorite IDE should be able to autocomplete the allowed tags on its own.