[
https://issues.jboss.org/browse/GTNPORTAL-2463?page=com.atlassian.jira.pl...
]
Marek Posolda updated GTNPORTAL-2463:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/gatein/gatein-portal/pull/58
Pull request
https://github.com/gatein/gatein-portal/pull/58 is adding new option to
picketlink IDM configuration. This new option specifies if Hibernate transaction should be
started lazily or not-lazily (old behaviour) at the beginning of RequestLifeCycle. For
GateIn, it will be enabled by default. Changes will be available after Picketlink IDM of
version 1.3.2.CR1 will be released and GateIn dependencies upgraded to this version.
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
Labels: performance
Attachments: LAZY-OPEN-TX-IDM.patch
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.
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