[jira] [Resolved] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-420. -- Resolution: Fixed > Transactional repositories > -- > > Key: DELTASPIKE-420 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 > Project: DeltaSpike > Issue Type: New Feature > Components: Data-Module >Affects Versions: 0.5 >Reporter: Harald Wellmann >Assignee: Thomas Andraschko > Fix For: 1.3.1 > > Attachments: DELTASPIKE-420_spi.patch > > > It's nice to get semi-automatic repositories from DeltaSpike Data, but these > repositories would be even more fun if they were transactional, not > necessarily by default, but at least by simple configuration. > Possible approaches: > 1) Add @Transactional to an abstract repository class, i.e. > javax.transaction.Transactional in Java EE 7, or > org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. > Currently, this does not work due to DELTASPIKE-419. > 2) Make it easy to override the @Repository binding or the query handler, to > add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek resolved DELTASPIKE-420. - Resolution: Fixed > Transactional repositories > -- > > Key: DELTASPIKE-420 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 > Project: DeltaSpike > Issue Type: New Feature > Components: Data-Module >Affects Versions: 0.5 >Reporter: Harald Wellmann >Assignee: Jozef Hartinger > Fix For: 1.2.2 > > Attachments: DELTASPIKE-420_spi.patch > > > It's nice to get semi-automatic repositories from DeltaSpike Data, but these > repositories would be even more fun if they were transactional, not > necessarily by default, but at least by simple configuration. > Possible approaches: > 1) Add @Transactional to an abstract repository class, i.e. > javax.transaction.Transactional in Java EE 7, or > org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. > Currently, this does not work due to DELTASPIKE-419. > 2) Make it easy to override the @Repository binding or the query handler, to > add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (DELTASPIKE-420) Transactional repositories
[ https://issues.apache.org/jira/browse/DELTASPIKE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-420. -- Resolution: Fixed > Transactional repositories > -- > > Key: DELTASPIKE-420 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-420 > Project: DeltaSpike > Issue Type: New Feature > Components: Data-Module >Affects Versions: 0.5 >Reporter: Harald Wellmann >Assignee: Thomas Hug > Fix For: 1.2.2 > > Attachments: DELTASPIKE-420_spi.patch > > > It's nice to get semi-automatic repositories from DeltaSpike Data, but these > repositories would be even more fun if they were transactional, not > necessarily by default, but at least by simple configuration. > Possible approaches: > 1) Add @Transactional to an abstract repository class, i.e. > javax.transaction.Transactional in Java EE 7, or > org.apache.deltaspike.jpa.api.transaction.Transactional otherwise. > Currently, this does not work due to DELTASPIKE-419. > 2) Make it easy to override the @Repository binding or the query handler, to > add transactional behaviour. -- This message was sent by Atlassian JIRA (v6.3.4#6332)