Java paging query shows the application's tool class