Thanks for the swift reply, Dave. I understand that using JDBCCategoryDataset is not very much encouraged :), at least not for complicated stuff. Wanted also to ask the following: If a query uses GROUP BY statements, is there a fast solution to have as many SERIES for a chart as GROUPS in the result...