public static < T > T queryScalar ( String sql , Class < T > scalarType , Object [ ] params ) throws SQLStatementNotFoundException , YankSQLException { return queryScalar ( YankPoolManager . DEFAULT_POOL_NAME , sql , scalarType , params ) ; }
Return just one scalar given a an SQL statement using the default connection pool .