I just created my first spring app (it's NOT web based application). I'm using JBoss/Hibernate/Spring/Eclipse combination.

I wrote some POJOs and generated mapping files using XDoclet successfully. Then i created a business interface and spring enabled it. I also created the applicationcontext.xml file.

So far, i was following the PetClinic example. This example has only one .hbm.xml file petclinic.hbm.xml file. In my application, i've generated one .hbm.xml file per POJO. My question is, how will i list all the .hbm.xml files under the property 'mappingResources' in the 'sessionFactoryBean'?

Do i need to use 'list' and list all the .hbm.xml files?

I'm sorry if i had asked some trivial question but i just started working on Spring 2 days ago and new to hibernate too.

Thanks for your help in advance.