|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
bean
to named parameters on the statement
Handle
instance passed
into its constructor.wombat
begins "jdbc:" the string will be treated as a jdbc driver
otherwise it will be used as the key for a jndi lookup to findInternal a DataSrouce
.
wombat
begins "jdbc:" the string will be treated as a jdbc driver
otherwise it will be used as the key for a jndi lookup to findInternal a DataSrouce
.
ConnectionFactory
to obtain
JDBC connections for handles created by this DBI
IDBI
instance to a Spring bean factory
Configuration might look like:
dbi
, using the transactionally bound
one if there is one, otherwise a new one.
Handle
instances obtained from a DBI instance.DBI
instance methods.transactionCallback
in a transaction, cleaning up
as necesary around it
callback
with an opened handle, closing the handle, and cleaning
up resources when the callback finishes.
callback
with an opened handle, closing the handle, and cleaning
up resources when the callback finishes.
callback
with an opened handle, closing the handle, and cleaning
up resources when the callback finishes.
callback
with an opened handle, closing the handle, and cleaning
up resources when the callback finishes.
select id, name from something where id = :something
and the
key to the params map is "something"
name
.
Handle
instances.update foo set bar = foo_id
update foo set bar = foo_id
update foo set bar = foo_id
update foo set bar = foo_id
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |