Liking cljdoc? Tell your friends :D

buttle.data-source

The Buttle javax.sql.DataSource.

This namespace delivers buttle.jdbc.DataSource via :gen-class. This named class can be used as a datasource class for application servers.

The _Buttle_ `javax.sql.DataSource`.

This namespace delivers `buttle.jdbc.DataSource` via
`:gen-class`. This named class can be used as a datasource class for
application servers.
raw docstring

-getConnectionclj

(-getConnection this)
(-getConnection this username password)

Implements javax.sql.DataSource/getConnection. Just delegates to the referenced/internal datasource (see -init).

Implements `javax.sql.DataSource/getConnection`. Just delegates to
the referenced/internal datasource (see `-init`).
sourceraw docstring

-getLoginTimeoutclj

(-getLoginTimeout this)

Implements javax.sql.CommonDataSource/getLoginTimeout. Just delegates to the referenced/internal datasource (see -init).

Implements `javax.sql.CommonDataSource/getLoginTimeout`. Just
delegates to the referenced/internal datasource (see `-init`).
sourceraw docstring

-getLogWriterclj

(-getLogWriter this)

Implements javax.sql.CommonDataSource/getLogWriter. Just delegates to the referenced/internal datasource (see -init).

Implements `javax.sql.CommonDataSource/getLogWriter`. Just
delegates to the referenced/internal datasource (see `-init`).
sourceraw docstring

-getParentLoggerclj

(-getParentLogger this)

Implements javax.sql.CommonDataSource/getParentLogger. Just delegates to the referenced/internal datasource (see -init).

Implements `javax.sql.CommonDataSource/getParentLogger`. Just
delegates to the referenced/internal datasource (see `-init`).
sourceraw docstring

-initclj

(-init)

Constructor function of buttle.jdbc.DataSource.

Constructor function of `buttle.jdbc.DataSource`.
sourceraw docstring

-isWrapperForclj

(-isWrapperFor this ifc)

Implements java.sql.Wrapper/isWrapperFor. Just delegates to the referenced/internal datasource (see -init).

Implements `java.sql.Wrapper/isWrapperFor`. Just delegates to the
referenced/internal datasource (see `-init`).
sourceraw docstring

-setDelegateSpecclj

(-setDelegateSpec this spec)

Sets the delegateSpec of the Buttle datasource.

Sets the `delegateSpec` of the _Buttle_ datasource.
sourceraw docstring

-setLoginTimeoutclj

(-setLoginTimeout this sec)

Implements javax.sql.CommonDataSource/setLoginTimeout. Just delegates to the referenced/internal datasource (see -init).

Implements `javax.sql.CommonDataSource/setLoginTimeout`. Just
delegates to the referenced/internal datasource (see `-init`).
sourceraw docstring

-setLogWriterclj

(-setLogWriter this pr-wrt)

Implements javax.sql.CommonDataSource/setLogWriter. Just delegates to the referenced/internal datasource (see -init).

Implements `javax.sql.CommonDataSource/setLogWriter`. Just
delegates to the referenced/internal datasource (see `-init`).
sourceraw docstring

-unwrapclj

(-unwrap this ifc)

Implements java.sql.Wrapper/unwrap. Just delegates to the referenced/internal datasource (see -init).

Implements `java.sql.Wrapper/unwrap`. Just delegates to the
referenced/internal datasource (see `-init`).
sourceraw docstring

make-data-sourceclj

(make-data-source)

Creates the Buttle datasource.

Creates the _Buttle_ datasource.
sourceraw docstring

retrieve-data-sourecljmultimethod

Factory/lookup for real datasource. String arg will be expected to be JNDI name of a javax.sql.DataSource. In this case the datasource will be looked up in JNDI. If the arg is a map the class-typed :delegate-class will be used to create an instance and then all remaining keys/values will be used to set the instance's Java-Bean properties.

Factory/lookup for _real_ datasource. `String` arg will be expected
to be JNDI name of a `javax.sql.DataSource`. In this case the
datasource will be looked up in JNDI. If the arg is a map the
class-typed `:delegate-class` will be used to create an instance and
then all remaining keys/values will be used to set the instance's
Java-Bean properties.
sourceraw docstring

spec->typeclj

(spec->type spec)

Dispatch for retrieve-data-soure. Returns type of spec (:jndi for String, :ds-class for maps).

Dispatch for `retrieve-data-soure`. Returns type of `spec` (`:jndi`
for `String`, `:ds-class` for maps).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close