Releases: davidmoten/rxjava2-jdbc
Releases · davidmoten/rxjava2-jdbc
0.1-RC16
- limit scheduled creates by demand and enable shortcutting (if checkin happens just after member initialize (open connection) scheduled then can use that checkin immediately)
0.1-RC14
- add
Database.nonBlocking
builder so don't have to construct aPool
to pass toDatabase
creation method - rename
healthy
method tohealthCheck
in builders - add
.healthCheck(DatabaseType)
so you can write.healthCheck(DatabaseType.ORACLE)
for instance - time dependent builder methods must use
TimeUnit
(removed a few methods in builders) - rename
checkoutRetryXXX
tocreateRetryXXX
in builders - adjust
MemberSingle.requested
down when number of observers is less than the requested number of checkouts - many refactorings, new tests
- add javadoc to
Database.nonBlocking
andNonBlockingPool
builders
0.1-RC13
- fix
Database.connections()
(repeat
operator missing)
0.1-RC12
- added support for connection health checks on checkout. The health check is only performed if the connection has been checked in for a minimum of
idleTimeBeforeHealthCheck
. The parameter is set in thePools.nonBlocking
builder. - added
Database.connections
method to return a Flowable of connections from the pool. Note that the author has no existing use case for this method but put it in because if you useDatabase.connection().repeat()
to get a Flowable then you end up over-requesting because of the request behaviour (actually subscribe behaviour to be specific) of therepeat
operator.
0.1-RC11
- alter
Database.close
behaviour so it does not shutdown an internally createdExecutorService
. Don't want to cancel a close operation on a connection inadvertently and don't have to worry about gc ofExecutorService
and associated threads because it will be gc'd when out of scope.
0.1-RC9
0.1-RC8
- add
@NonNull
annotation and Preconditions checks to builders - add autoMap and tuple mapping to
TransactedReturnGeneratedKeysBuilder
- refactor
Member
to returnMemberWithValue
fromcheckout()
- add support for default methods in automapped interfaces
- add support for blocking connection providers (
Database.fromBlocking(DataSource)
) #4
0.1-RC7
- schedule retry if all checkouts fail on the queue in drain loop (
MemberSingle
) - close test database creation statement on failure
- throw exception if test database does not create within 1 minute
- close resource in lambda properly (test database)
- add tests for
TransactedSelectBuilder
- javadoc fixes
0.1-RC6
Add autoMap(...)
and getAs(...)
tuple mappings to
- select
transacted()
- select
transacted().valuesOnly()