davidmoten / davidmoten/rxjava2-jdbc
Simple insert with transaction is not happening
Open
bug
- Dominant language
- Java
- Stars
- 394
- Forks
- 41
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
Trying to execute following insert query does not commit transaction due to transaction reference counter is not decremented.
db.update( "INSERT INTO ADDRESS_REL (ADDRESS_ID, ADDRESS_DETAILS ) VALUES ( ?, ? )")
.parameterStream(Flowable.just(105L, "Address of 105"))
.transacted()
.counts()
.blockingSubscribe(tx -> System.out.println(tx.isComplete() ? "complete" : tx.value()));
Do I missed any hint to transaction ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.