Package play.db
Interface ConnectionRunnable
public interface ConnectionRunnable
Similar to java.lang.Runnable with a Connection as argument. Provides a functional interface for
use with Java 8+. To return a result use ConnectionCallable.
Vanilla Java:
new ConnectionCallable<A>() {
public A call(Connection c) { return ...; }
}
Java Lambda: (Connection c) -> ...
-
Method Summary
-
Method Details
-
run
- Throws:
SQLException
-