* @param conn a connection to the database
*/
private static void bulkProcessRecords(Connection conn)
{
// Define the query
DBCommand cmd = db.createCommand();
// Define shortcuts for tables used - not necessary but convenient
SampleAdvDB.Employees EMP = T_EMP;
// Select required columns
cmd.select(T_EMP.getColumns());
// Set Constraints
cmd.where(T_EMP.C_RETIRED.is(false));
// Query Records and print output
DBReader reader = new DBReader();
try
{
// Open Reader
System.out.println("Running Query:");
System.out.println(cmd.getSelect());
if (reader.open(cmd, conn) == false)
throw new RuntimeException(reader.getErrorMessage());
// Print output
DBRecord record = new DBRecord();
while (reader.moveNext())