rxjava-jdbc

Efficient execution and functional composition of database calls using jdbc and RxJava Observables

APACHE-2.0 License

Stars
807
rxjava-jdbc - 0.6.0-RC1

Published by davidmoten over 9 years ago

  • auto convert camel case to underscore column names in annotated mapped interface
  • instead of wrapping SQLException with RuntimeException wrap with SQLRuntimeException
  • return generated keys - this has involved a rework of core classes so is the reason that this release is a Release Candidate so that feedback can be obtained
rxjava-jdbc - 0.5.10

Published by davidmoten over 9 years ago

  • Out of the box support for javax.sql.DataSource #17, thanks @sparty02
rxjava-jdbc - 0.5.9

Published by davidmoten over 9 years ago

  • QuerySelect.Builder.get now requires a ResultSetMapper<T> instead of a Func1<ResultSet,T>. This is a breaking change.
  • added @Query annotation, see autoMap doco on README.md
rxjava-jdbc - 0.5.8

Published by davidmoten over 9 years ago

  • use dynamic proxies to map result set to an interface (autoMap). See README for details
  • on exception within a transaction ensure that all transaction state variables are reset (so can start another transaction using the same statement using Observable.retry)
rxjava-jdbc - 0.5.7

Published by davidmoten over 9 years ago

  • fix race condition where concurrent requests for Long.MAX_VALUE can end up both emitting on fast path
  • handle request overflow using BackpressureUtils copied from rxjava internals
  • remove redundant line of code in QuerySelectProducer
rxjava-jdbc - 0.5.6

Published by davidmoten over 9 years ago

  • add Database.asynchronous() overloads so can specify Scheduler. See #16
rxjava-jdbc - 0.5.5

Published by davidmoten over 9 years ago

  • fix possible race condition in SingleSubscribeSubject
  • use compareAndSet instead of synchronized to improve concurrent performance of ConnectionProviderSingletonManualCommmit
rxjava-jdbc - 0.5.4

Published by davidmoten over 9 years ago

  • ensure resources closed only once on update query
  • #15 Use single subscriber subject instead of PublishSubject in OperationToOperator
rxjava-jdbc - 0.5.3

Published by davidmoten over 9 years ago

  • #14 select query needed to close connection, prepared statement, result set on unsubscription
  • made connection, prepared statement, result set resources volatile and subscription specific for both select and update queries (multiple concurrent subscriptions to the same query would bring about a race condition)
  • ensure closing of resources only happens once (prevent race condition)
rxjava-jdbc - 0.5.1

Published by davidmoten over 9 years ago

  • update to rxjava 1.0.8
  • fix use of unsubscribe detector in unit tests that failed with rxjava 1.0.8
rxjava-jdbc - 0.5

Published by davidmoten over 9 years ago

  • Use Hikari connection pool instead of c3p0
  • upgrade to rxjava 1.0.6
  • upgrade to slf4j 1.7.10
rxjava-jdbc - 0.4

Published by davidmoten almost 10 years ago

  • upgrade to io.reactivex:rxjava:1.0.1
rxjava-jdbc - 0.3.1

Published by davidmoten about 10 years ago

  • remove noisy logging line about backpressure
rxjava-jdbc - 0.3

Published by davidmoten about 10 years ago

  • add Database.run overload with Charset parameter
  • pull 10 Add backpressure suppport for QuerySelectOperator
  • upgrade rxjava dependency to 0.20.0 which includes backpressure
rxjava-jdbc - 0.1

Published by davidmoten about 10 years ago

  • initial release
rxjava-jdbc - 0.1.1

Published by davidmoten about 10 years ago

  • replaced use of flatMap with concatMap to limit possible async side effects on specifying parameter observables to queries
rxjava-jdbc - 0.1.2

Published by davidmoten about 10 years ago

  • issue #1 use rxjava 0.17.4
  • add Database.fromContext(jndiResource) for JNDI lookup of DataSource
  • issue #2 queries synchronous by default (scheduled using Schedulers.trampoline())
  • pull 3 run all database tests sync and async
rxjava-jdbc - 0.1.3

Published by davidmoten about 10 years ago

  • upgrade rxjava dependency to 0.17.6 (retry operator was broken in 0.17.5)
  • upgrade c3p0, h2, slf4j dependencies to latest
  • change Database.Builder method for specifying connection pool
  • add username and password parameters to Database.Builder, Database.from()
rxjava-jdbc - 0.2

Published by davidmoten about 10 years ago

  • upgrade rxjava dependency to 0.19.6
  • use lazy evaluation in logging
  • pull 4 Add test scope to mockito dependency
  • pull 6 add support for null insert/update of clobs and blobs