Search code examples
jakarta-eeormejb-3.0

EJB3 : orm.xml : is it possible to have multiple orm.xml files?


I work on a big EJB3 project and my orm.xml is very big too. Is it possible to include others orm files in an orm "parent" ?

Thanks for help :)


Solution

  • There's no include syntax for orm.xml, but you can specify multiple <mapping-file> in persistence.xml.