java.lang.Object
com.aoapps.dbc.DatabaseUtils
Implementation utilities.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Gets a user-friendly description of the provided result in a string formatted like('value', 'value', 'long_value_cutoff_at_32_characte…', int_value, NULL, …)
.static int
getRowCount
(ResultSet results) Gets the number of rows or-1
when unknown.
-
Method Details
-
getRow
Gets a user-friendly description of the provided result in a string formatted like('value', 'value', 'long_value_cutoff_at_32_characte…', int_value, NULL, …)
. This must not be used generate SQL statements - it is just to provide user display.- Throws:
SQLException
-
getRowCount
Gets the number of rows or-1
when unknown.- Throws:
SQLException
-