codice:
ArrayList arrayList = new ArrayList();
while (rsQuery.next()) {
  arrayList.add(rsQuery.getString(1));
System.out.println(rsQuery.getString(1)); //giusto per curiosità
}
String[] items = (String[])arrayList.toArray();
for (int i=0; i<items.length; i++)
  System.out.print(items[i]);
Prova ad aggiungere quel system.out.prinltn
come controllo.