| java.lang.Object jpersist.utils.DatabaseUtils
DatabaseUtils | public class DatabaseUtils (Code) | | This class provides several static utility methods for retrieving data from a database handler.
|
Method Summary | |
public static int | multiRowPreparedUpdate(Database db, String sql, Vector rows) | public static int | multiRowPreparedUpdate(Database db, String sql, Vector rows, Vector keys) | public static Collection | parameterizedQueryReturnCollection(Database db, Collection c, String sql, Object[] objects) | public static Collection | parameterizedQueryReturnCollection(Database db, Collection c, String sql, Object[] objects, boolean singleObject) | public static Collection | parameterizedQueryReturnCollectionOfObjects(Database db, Collection c, String sql, Object[] objects, Class objectClass) | public static Map | parameterizedQueryReturnMap(Database db, Map map, String sql, Object[] objects) | public static Map | parameterizedQueryReturnMap(Database db, Map map, String sql, Object[] objects, int keyColumn, int valueColumn) | public static Object | parameterizedQueryReturnObject(Database db, String sql, Object[] objects, Object object) | public static void | preparedQuery(Database db, PreparedQuery handler, String sql) | public static int | preparedUpdate(Database db, PreparedUpdate handler, String sql) | public static Collection | queryReturnCollection(Database db, Collection c, String sql) | public static Collection | queryReturnCollection(Database db, Collection c, String sql, boolean singleObject) | public static Collection | queryReturnCollectionOfObjects(Database db, Collection c, String sql, Class objectClass) | public static Map | queryReturnMap(Database db, Map map, String sql) | public static Map | queryReturnMap(Database db, Map map, String sql, int keyColumn, int valueColumn) | public static Object | queryReturnObject(Database db, String sql, Object object) | public static boolean | rowExists(Database db, String sql, Object[] objects) |
|
|