[ 
http://mifosforge.jira.com/browse/MIFOS-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58825#action_58825
 ] 

Udai Gupta commented on MIFOS-3309:
-----------------------------------

Seem like you in the right direction. Try to enabling logging spring and put 
debug point to figure out the issue (see if the beans are initialized). Most 
probably it's something related to initialization of spring beans. I think you 
would need to initialize the spring context in MifosIntegrationTestCase. The 
way you have injected the sessionFactory in HibernateUtil can be simplified 
using a ApplicationContext aware bean.
http://tinyurl.com/28zrc2n


> Refactoring to use single SessionFactory for the  application. 
> ---------------------------------------------------------------
>
>                 Key: MIFOS-3309
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3309
>             Project: mifos
>          Issue Type: Dev Task
>          Components: Misc
>            Reporter: Dhanushka kottegoda
>            Assignee: Dhanushka kottegoda
>             Fix For: Release E - Iteration 2
>
>         Attachments: 0001-MIFOS-3309-add-new-helper-class.patch, 
> 0002-MIFOS-3309-add-new-sample-context-file.patch, 
> 0003-MIFOS-3309-modification-for-HibernateUtil.patch, 
> 0004-MIFOS-3309-modification-for-StaticHibernateUtil.patch, 
> 0005-MIFOS-3309-sample-test-case.patch, 
> org.mifos.accounts.api.StandardAccountServiceIntegrationTest.txt
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to