View RSS Feed

Recent Blogs Posts

  1. Wiring Lists and Arrays in Spring Beans

    by , 11-16-2011 at 04:17 PM
    Often you will have situations where you will need to wire properties that are lists or arrays. If you are using Hibernate jointly with Spring, you will need to se this in order to provide the list of Hibernate mapping files. In order to do this, you will use the <list> element to wire the property in the wiring XML file for either an array property or a java.util.List property.

    For example, when you want to map Hibernate mapping files, you will wire a LocalSessionFactoryBean ...
    Categories
    Bean , Configuration