开发者

jtable getting more than 100 rows

Hi i have a java application which takes data from开发者_C百科 a oracle database. But the problem is it will only display the first 100 rows. how do i display the rest of the data.


You should be able to add any number of rows to your JTable without any custom modifications. It is likely that your query returns only 100 rows while you expect more.

It may happen when a LIMIT is automatically added by the search engine when you query the database.

You should check the query that is being executed (not sent, but executed). Try Adding LIMIT 200 to your query and see what happens.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜