To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Extending SQLContainer, or a new PaginatedContainer
1 decade ago Apr 18, 2012 9:13pm
Extending the SQLContainer is very difficult because some of the key methods are private, such as getPage(). Can you make them protected for easier customization?
It will also be better to extract the paging capability or concern out to a super class such as PaginatedContainer. I can then use it directly or extend it. What I needed to do is to let the iBatis to manage the query generation and execution part. iBatis will also manage the data type conversion. The container will interface with either Collection of Java beans or Maps of data and display on the Table.