posted 3 weeks ago
SessionFactory is not being loaded. I think I know what the problem is , i just need someone else to confirm it.
I am using a mixture of autowire and xml, so my service bean is autowired, and calls FundRepository which is identified with the @Repository. But at the same time FundRepository is an XML defined Bean.
My question is, is it possible to mix autowired and XML defined beans ?.
Looking at my config I cant see anything wrong, but I have a hunch, that its not picking up the FundRepository from the XML, because of the @Repository.
The spring context is
Called from a service nean