Comments (4)
Another example is use
extension method from Kotlin
https://github.com/Kotlin/kotlinx.support/blob/master/kotlinx-support-jdk7/src/main/kotlin/AutoCloseable.kt#L13
from micronaut-data.
Implemented to with:
@Inject SynchronousTransactionManager transactionManager
transactionManager.executeWrite {
...
}
from micronaut-data.
Can we also specify isolation levels?
like
transactionManager.executeWrite(isolation=TRANSACTIONAL) {
...
}
from micronaut-data.
I added an execute
variation that accepts a TransactionDefinition
and added docs https://micronaut-projects.github.io/micronaut-data/snapshot/guide/#programmaticTransactions
from micronaut-data.
Related Issues (20)
- Provider org.hibernate.bytecode.internal.bytebuddy.BytecodeProviderImpl could not be instantiated GraalVm HOT 5
- Add Jakarta Data Support HOT 2
- Misleading example code in Documentation about Joins (Section 4.4) HOT 1
- Latest changes on DefaultPage behaviour breaks io.micronaut.data.model.Page.map
- Wrong entity mapping for multiple ONE_TO_MANY relations of the same entity HOT 3
- `alias` attribute from `@MappedEntity` is not working HOT 2
- AsyncTransactionOperations<Connection> hangs when commit throws exception
- Can't inject a Repository bean extending RxJavaCrudRepository
- Cannot persist Entity with several inverse one-to-many relations due to UnsupportedOperationException HOT 2
- Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Cannot invoke "String.length()" because "path" is null HOT 3
- Docs: Javadocs for CrudRepository don't explain what exceptions are thrown
- Issue with JPA Criteria API when dealing with hierarchical relationships HOT 1
- Tests break when disabling datasources HOT 5
- HQL `where in :entityList` when entityList is empty, fails with NPE HOT 1
- ReactiveStreamsCrudRepository.save(S entity) ignores @Transient annotation filed HOT 2
- Exceptions aren't thrown on updates if entities don't have an id assigned
- Cursored pagination doesn't work with DTO projections
- Cannot query pageable with join criteria
- Predicate builder doesn't work with cursored pagination
- Repository code running in another thread doesn't see changes made from test code HOT 4
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 micronaut-data.