You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/03/14 20:27:27 UTC
[jira] Created: (IMAP-116) Reuse Mappers in the session
Reuse Mappers in the session
-----------------------------
Key: IMAP-116
URL: https://issues.apache.org/jira/browse/IMAP-116
Project: JAMES Imap
Issue Type: Improvement
Components: JPA Mailbox
Affects Versions: 0.1
Reporter: Norman Maurer
Assignee: Norman Maurer
Fix For: 0.1
At the moment we create a new Mapper (for example JPAMessageMapper) for every new search operations. Thats a waste of resource. We should use one per Session like we do in the JCR Mailbox
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (IMAP-116) Close EntityManager after processing
requests
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846999#action_12846999 ]
Norman Maurer commented on IMAP-116:
------------------------------------
In trunk now...
> Close EntityManager after processing requests
> ---------------------------------------------
>
> Key: IMAP-116
> URL: https://issues.apache.org/jira/browse/IMAP-116
> Project: JAMES Imap
> Issue Type: Improvement
> Components: JPA Mailbox
> Affects Versions: 0.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.1
>
>
> We should close the EntityManager after each request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Resolved: (IMAP-116) Close EntityManager after processing
requests
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-116.
--------------------------------
Resolution: Fixed
> Close EntityManager after processing requests
> ---------------------------------------------
>
> Key: IMAP-116
> URL: https://issues.apache.org/jira/browse/IMAP-116
> Project: JAMES Imap
> Issue Type: Improvement
> Components: JPA Mailbox
> Affects Versions: 0.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.1
>
>
> We should close the EntityManager after each request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Updated: (IMAP-116) Close EntityManager after processing
requests
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer updated IMAP-116:
-------------------------------
Description: We should close the EntityManager after each request. (was: At the moment we create a new Mapper (for example JPAMessageMapper) for every new search operations. Thats a waste of resource. We should use one per Session like we do in the JCR Mailbox )
Summary: Close EntityManager after processing requests (was: Reuse Mappers in the session )
> Close EntityManager after processing requests
> ---------------------------------------------
>
> Key: IMAP-116
> URL: https://issues.apache.org/jira/browse/IMAP-116
> Project: JAMES Imap
> Issue Type: Improvement
> Components: JPA Mailbox
> Affects Versions: 0.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.1
>
>
> We should close the EntityManager after each request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org