TocRenderer does not fetch table type through jdbc in swing thread