com
.
mchange
.
sc
.
v1
.
sql
ResourceUtils
Related Doc:
package sql
object
ResourceUtils
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ResourceUtils
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
type
ConnectionSource
=
AnyRef
{ def getConnection(): java.sql.Connection }
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
connectionSource
(
jdbcUrl:
String
)
:
ConnectionSource
def
connectionSource
(
jdbcUrl:
String
,
jdbcUserName:
String
,
jdbcPassword:
String
)
:
ConnectionSource
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withConnection
[
T
]
(
csrc:
DataSource
)
(
op: (
Connection
) ⇒
T
)
:
T
def
withConnection
[
T
]
(
csrc:
ConnectionSource
)
(
op: (
Connection
) ⇒
T
)
:
T
def
withPreparedStatement
[
T
]
(
con:
Connection
,
sql:
String
)
(
op: (
PreparedStatement
) ⇒
T
)
:
T
def
withResultSet
[
T
]
(
ps:
PreparedStatement
)
(
op: (
ResultSet
) ⇒
T
)
:
T
def
withResultSet
[
T
]
(
stmt:
Statement
,
query:
String
)
(
op: (
ResultSet
) ⇒
T
)
:
T
def
withStatement
[
T
]
(
con:
Connection
)
(
op: (
Statement
) ⇒
T
)
:
T
def
withWrappedPreparedStatement
[
T
]
(
con:
Connection
,
mgr:
PsManager
)
(
op: (
WrappedPreparedStatement
) ⇒
T
)
:
T
Inherited from
AnyRef
Inherited from
Any
Ungrouped