Aleksei Valikov wrote:

> 1. Put your HBM files into resources, not into java. You should have
> src/main/resource/cedar/hepdata/mode/Autor.hbm.xml etc.
> 
> 2. Use
> 
> <mapping resource="cedar/hepdata/model/Author.hbm.xml"/>

Fantastic, thanks. The whole tree seems not to be needed, so just making e.g.
src/main/resource/hbm/Author.hbm.xml and pointing the config file at those
seems to work nicely, without having a chain of empty directories for no
particular reason.

Thank you!
Andy

-- 
Andy Buckley: CEDAR @ IPPP, Durham
Work: www.cedar.ac.uk
www.insectnation.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to