persistence@glassfish.java.net

Resource names of the orm mappings

From: Aleksei Valikov <aleksei.valikov_at_gmail.com>
Date: Thu, 17 Jul 2008 07:27:00 +0200

Hi,

imagine ORM mappings are defined in XML resource files and not as
annotations. Is there any convention about names of such resources?
For instance, in Hibernate there's a usual MyClass.hbm.xml convention.
Is there anything like this for JPA? Like, MyClass.orm.xml or
MyClass.jpa.xml?

Bye.
/lexi