Nicolas Filotto created GTNPORTAL-2463:
------------------------------------------
Summary: Open an "Identity Transaction" only when it is necessary
Key: GTNPORTAL-2463
URL:
https://issues.jboss.org/browse/GTNPORTAL-2463
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Identity integration
Affects Versions: 3.2.0-GA
Reporter: Nicolas Filotto
Assignee: Boleslaw Dawidowicz
The component {{PicketLinkIDMOrganizationServiceImpl}} has been defined as a
{{ComponentRequestLifecycle}} to be able to scope an "identity transaction" to
the life time of the request. However depending on the page we try to access, it could be
useless to open a tx in case the organization service is not even accessed which can have
a dramatic impact on performances for nothing especially when we use hibernate because
when we open a tx with hibernate, it does a JDBC call to switch to non auto commit mode.
Please find more details (and the related patch) in the linked JIRA issue
The link to the patch
https://jira.exoplatform.org/secure/attachment/58267/LAZY-OPEN-TX-IDM.patch
Original Issue:
https://jira.exoplatform.org/browse/EXOGTN-1162
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira