[xwiki-notifications] [Issue] Commented: (XWIKI-2332) Share one session factory among all hibernate stores

Artem Melentev (JIRA) jira at xwiki.org
Thu Jul 10 21:34:54 CEST 2008


    [ http://jira.xwiki.org/jira/browse/XWIKI-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28075#action_28075 ] 

Artem Melentev commented on XWIKI-2332:
---------------------------------------

Implementation notes in http://xwiki.markmail.org/message/vs7wbfjv7ipyz2t3
plan:
1st step: HibernateSessionFactory as simple holder for real session factory and configuration
2nd: move hibernate initialization to HibernateSessionFactory.
3rd: remove setters from HibernateSessionFactory and add reconfigure method. (there are many problems with custom mappings)


> Share one session factory among all hibernate stores
> ----------------------------------------------------
>
>                 Key: XWIKI-2332
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2332
>             Project: XWiki Core
>          Issue Type: Improvement
>          Components: Storage
>    Affects Versions: 1.4 M1
>            Reporter: Artem Melentev
>            Assignee: Artem Melentev
>
> XWiki has many hibernate stores. Each store contains own session factory with own connections.
> This cause too many connections to db, long initialization, XWIKI-2328, etc.
> We need to share one session factory among all hibernate stores

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the notifications mailing list