public Statement createStatement() throws SQLException {
        // Returned a TimedStatement so that we can do db timings.
        return new TimedStatement(connection.createStatement());
    }
Creates a new ProfiledConnection that wraps the specified connection.

@param connection the Connection to wrap and collect stats for.
xmppserver/src/main/java/org/jivesoftware/database/ProfiledConnection.java