davidmoten / davidmoten/rxjava2-jdbc

Simple insert with transaction is not happening

Open
#13 6 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.