executes a block of code , providing a jdbc connection . the connection and all created statements are automatically released . concode_field_sep PlaceHolder placeHolder concode_field_sep Connection getConnection concode_elem_sep Connection getConnection concode_elem_sep Connection getConnection concode_elem_sep Connection getConnection concode_elem_sep DataSource getDataSource concode_elem_sep DataSource getDataSource concode_elem_sep void withTransaction concode_elem_sep void withTransaction concode_elem_sep void withTransaction concode_elem_sep void withTransaction concode_elem_sep A withTransaction concode_elem_sep A withTransaction concode_elem_sep A withTransaction concode_elem_sep A withTransaction concode_elem_sep AbstractFunction1<Connection,BoxedUnit> connectionFunction concode_elem_sep AbstractFunction1<Connection,A> connectionFunction
void function ( String arg0 , boolean arg1 , ConnectionRunnable arg2 ) { withConnection ( arg0 , arg1 , arg2 , play . api . Play . unsafeApplication ( ) ) ; }