[KULRICE-9045] ViewServiceImpl - buildView - DB Connections Created: 27/Feb/13 Updated: 16/Jan/15
|Project:||Kuali Rice Development|
|Component/s:||Development, User Experience (UX)|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Jeff Domeyer (Inactive)||Assignee:||Unassigned|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KRAD Feature Area:||
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Include in Release Notes?:||
At the moment, buildView in ViewServiceImpl is ultimately going to call authorization checks for things like can you edit/route/save etc... a document. Each of these calls will open a new transaction/connection as the first time a transactional boundary is reached is down in the businessObjectService/DAO.
I took the easy route and just placed a transactional annotation on buildView and that cuts down on the connections opened from >30 down to about 5 per view build.