Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Setting Spring bean lazy load on multiple files issue
Joined: Apr 10, 2003
Nov 19, 2012 00:41:40
I have an issue to set the lazy load to true on multiple files. If I do like the followings<
A.xml <beans default-lazy-init="true"> <import resource="B.xml"/> <import resource="C.xml"/> </beans> B.xml <beans> <bean> ..... </bean> </beans> C.xml <beans> <bean> .... </bean> </beans>
Does it mean the beans defined in B.xml and C.xml are also lazy-init=true?
Joined: Mar 07, 2010
Nov 19, 2012 19:18:12
See if these links help clarify things:
I would discourage lazy initialization in most cases.
How To Ask Questions
Read before you PM me
subject: Setting Spring bean lazy load on multiple files issue
Problem getting Bean reference which is in jar from JSP
Spring config files inside jar
org hibernate InvalidMappingException : Could not parse mapping document from invalid
Deployement problem in oc4j with hibernate + JPA and Spring
Spring MVC dirt-simple app won't work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013