writing xls file with apache poi from db