May I user more than one hibernate.cfg.xml in my project ? just like more than one spring config files .
coz I need to generate my entity, I also wish to generate the hibernate.cfg.xml, and config the generated filename into applicationContext-dao.xml, like this: <property name="configLocation" value="classpath:hibernate*.cfg.xml"/> However, when I do configuration like this, build failed ! any suggestion will be great appreciated !! chinofish