Class QueryHelper
- java.lang.Object
-
- de.julielab.costosys.dbconnection.QueryHelper
-
public class QueryHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetCount(Connection conn, String query)Returns the result of a query that returns a single count
-
-
-
Method Detail
-
getCount
public static long getCount(Connection conn, String query) throws SQLException
Returns the result of a query that returns a single count- Parameters:
conn-query-- Returns:
- Throws:
SQLException
-
-