Comments (3)
Workaround is to configure hibernate.allow_update_outside_transaction = true
from grails-asynchronous-mail.
I think this is the wrong solution. After grails 3.1 services aren't transactional by default. The AsynchronousMailProcessService isn't marked as @transactional. The correct solution is to mark the service as transactional. Doing global hibernate workarounds is bad because plugins shouldn't assume a particular global setup.
from grails-asynchronous-mail.
@xpusostomos you are right, it's just a quick workaround. That's why this issue is still open and unresolved.
from grails-asynchronous-mail.
Related Issues (20)
- Grails 3.2.8 and asynchronous-mail:2.0.0.RC7 - startJobs causes NullPointerException HOT 1
- NPE with new version of quartz plugin HOT 3
- Wrong import path for enums
- Add support of List-Unsubscribe HOT 1
- Sending Multipart Emails fails (Text + HTML)
- grails 3.3.1 can not work with grails-asynchronous-mail 2.0.0.RC7 HOT 5
- Add support the method sendMail(Config)
- Too strict emails validation HOT 12
- onStartup() not called HOT 1
- Use gorm data services
- Triggers on cluster in Grails 3.3.x and Quartz 2.0.13
- HibernateOptimisticLockingFailureException after upgrade to grails 3.3 HOT 3
- alternative should be text instead of varchar(255)
- Exception thrown after upgrading to Grails 3.3.8 HOT 1
- Grails 4.0 and OpenJDK11 happened problem HOT 3
- How to know if the mail was sent failed? HOT 1
- Table name and DB Configurable
- Release version in maven HOT 1
- Preventing send duplicate email if multiple servers instance are running
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grails-asynchronous-mail.