Utils

public class Utils

Methods

countTable

public static String countTable(Connection c, String table)

printTable

public static void printTable(Connection c, String name, PrintStream ps)

For debugging. Prints an SQL table with given name;

Parameters:
  • c

  • name

  • ps

Throws:

printVar

public static void printVar(Connection c, String name, PrintStream ps)

For debugging. Prints an SQL variable with a given name.

Parameters:
  • c

  • name

Throws: