// ---------------------------------------------------------------------------
public AcademicCourseBooking[] getUnconfirmedBookings(JDCConnection oConn)
throws SQLException {
AcademicCourseBooking[] aBooks = null;
DBSubset oBooks = new DBSubset(DB.k_x_course_bookings,
new AcademicCourseBooking().getTable(oConn).getColumnsStr(),
DB.gu_acourse+"=? AND "+DB.bo_confirmed+"<>1 "+
"ORDER BY "+DB.dt_created,50);
int nBooks = oBooks.load(oConn, new Object[]{get(DB.gu_acourse)});
if (nBooks>0) {
aBooks = new AcademicCourseBooking[nBooks];
for (int b=0; b<nBooks; b++) {
aBooks[b] = new AcademicCourseBooking();
aBooks[b].putAll(oBooks.getRowAsMap(b));
} // next
} // fi
return aBooks;
} // getConfirmedBookings