[
http://mifosforge.jira.com/browse/MIFOS-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#action_10022
]
Shahzada Hatim logged work on MIFOS-3371:
-----------------------------------------
Author: Shahzada Hatim
Created on: 14/Jul/10 10:57 AM
Start Date: 14/Jul/10 10:54 AM
Worklog Time Spent: 4 days
Work Description: This task entailed reading about @Transaction, how
transactions work with and without spring, example coding of non-bean
transaction code.
The end result are bunch of recepies which need to be applied to the actual
code (a sub task)
Issue Time Tracking
-------------------
Time Spent: 4 days
Remaining Estimate: 0 minutes
> Research how to employ @Transaction annotation, by using AOP and alternative
> of StaticHibernateUtil
> ----------------------------------------------------------------------------------------------------
>
> Key: MIFOS-3371
> URL: http://mifosforge.jira.com/browse/MIFOS-3371
> Project: mifos
> Issue Type: Dev Task
> Components: Misc
> Reporter: Shahzada Hatim
> Assignee: Shahzada Hatim
> Priority: Major
> Time Spent: 4 days
> Remaining Estimate: 0 minutes
>
> One of the scopes of the GSoC project is to use annotated transactions. For
> this we have to research how AOP works on non-beans since Transactions would
> be used on non-beans
> Suppose SavingBO would have an annotation of transaction and some other
> transaction method calls the SavingsBO method, also with transaction
> annotation, then every thing will be dealt in transaction, only if the
> calling method is a bean method.
> If The calling method is not a bean method then there are possible solutions
> using AOP.
> Spring AOP may not be the solution so for this one may have to use AspectJ.
> There is a possibility that HibernateTransactionManager(?) could be used for
> this task (to be used within an aspect). This class has a similar
> functionality as HibernateUtils. HibernateTransactionManager (part of spring)
> is available so
> then we can have the same trasnaction environement in bean and non-bean area.
> This is an exploratory task. The aim is to come up with a recepie of
> @Transaction in current MIFOS code base. For demonstrative purposes small
> spring-roo based apps would be used.
> Please comment if you would like to change the description.
--
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