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

Emmanuel Bernard (JIRA) issues at jboss.org
Mon Mar 31 08:22:13 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12957703#comment-12957703 ] 

Emmanuel Bernard commented on ISPN-3954:
----------------------------------------

Hum, that is likely but in truth I don't know. The best is to write a quick test. 
                
> 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