Beginner |
|
Joined: Wed Oct 01, 2003 3:57 am Posts: 33 Location: Alpharetta, Georgia
|
I always have my generated files, whether *.xml or *.hbm.xml or whaterver -- output to a directory (such as ${basedir}/target) that is not checked in/out of the repository. As a policy anyway
Every time you regenerate your mapping files based on changes made to one Java class all of your hbm.xml files are "touched", particularly if you tell your schema-export to use force.
It's a lot easier to just checkin the changed Java source, less opportunity for confusion. If other people are sharing the repository the timestamps on the generated files may cause their sandbox version to miss regenerating a file that it should have.
|
|