Hi
I have quite large object model that I am mapping using annotations and I dont really want to add each one in turn to the cfg.xml. I foud this
http://www.hibernate.org/hib_docs/annot ... /ch01.html
which suggested that adding a line like
Code:
<mapping package="example.package.name"/>
would add all the classes in the package so I dont have to do one at a time.
But I couldnt get it to work and nothing is every picked up form this package. However everthing works fine if I add them one at a time.
I have a had a good look for some documentation on this but cant find anything. Can anyone help?
Cheers
Mike :)