Package | Description |
---|---|
com.github.davidmoten.rx.jdbc |
Database querying utilities for use with JDBC and RxJava.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionProviderFromContext
Provides database connections via a JNDI lookup.
|
class |
ConnectionProviderFromDataSource
Provides database connections from a
DataSource . |
class |
ConnectionProviderFromUrl
Provides
Connection s from a url (using
DriverManager.getConnection()). |
class |
ConnectionProviderPooled
Provides database connection pooling using HikariCP.
|
Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
Database.getConnectionProvider()
Returns the
ConnectionProvider . |
Modifier and Type | Method and Description |
---|---|
Database.Builder |
Database.Builder.connectionProvider(ConnectionProvider cp)
Sets the connection provider.
|
static Database |
Database.from(ConnectionProvider cp)
|
Constructor and Description |
---|
Database(ConnectionProvider cp)
Constructor.
|
Database(ConnectionProvider cp,
rx.functions.Func0<rx.Scheduler> nonTransactionalSchedulerFactory)
Constructor.
|
Copyright © 2014–2015. All rights reserved.