Hi.
> Yes there is a convention. By default any file named "orm.xml" in the
> META-INF directory of the Persistence Unit or in a jar referenced from the
> Persistence Unit will be read by default for entity mappings. A single JPA
> mapping file can contain all of the Entity Mappings for a Persistence Unit
> or may only contain part of the mappings.
> Other than this there is no file naming convention.
Thanks. I want to define class mappings in separate files (otherwise
it result in a too large orm.xml file).
I'll just name them MyClass.orm.xml then if there's no convention.
Thank you for your comment.
Bye.
/lexi