As we have used ‘org.springframework.orm.hibernate4.LocalSessionFactoryBean’ class for sessionFactory bean in our example, it is mandatory to have a datasource bean definition in the spring applicationConetext.xml file. But only the ‘url’ property is necessary for connection pooling and the rest of the properties ‘driver_class’,’username’ and ‘password’ properties under datasource bean are not mandatory. Perhaps these properties are loaded from hibernate.cfg.xml.
Our tutorials are just to help you get started. For better understanding on spring development, I suggest you to post on more appropriate development forums (for example, http://www.stackoverflow.com ).
Hope this helps and let us know if you see any issues in MyEclipse.