[infinispan-issues] [JBoss JIRA] (ISPN-3954) Use Hibernate's StatelessSession for the JPACacheStore

Radim Vansa (JIRA) issues at jboss.org
Wed Apr 23 10:37:33 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa closed ISPN-3954.
-----------------------------

    Resolution: Rejected


As stateless sessions lack collection support, we can't use them. Careful manual flushing of session for multiple key operations is preferred in this case.
                
> Use Hibernate's StatelessSession for the JPACacheStore
> ------------------------------------------------------
>
>                 Key: ISPN-3954
>                 URL: https://issues.jboss.org/browse/ISPN-3954
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Loaders and Stores
>            Reporter: Emmanuel Bernard
>            Assignee: Radim Vansa
>              Labels: 630
>
> The current model uses the regular session even though operations are tailored toward actions (insert, update, delete).
> It would be better to make use of the Hibernate StatelessSession API which has been designed for these use cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list