Fellow Ranchers,
I would like to hear your opinions regarding the best way to implement a generic table model which provides access to resultsets queried from a database.
I know that when implementing a concrete class which extends the AbstractTableModel abstract class, I can provide the source data as an array.
However, when using database queries as source of data such array loading process may take a long time, so I decided to write a generic table model which gets in its constructor a reference to the ResultSet object containing the source data.
Could you please evaluate the below code and give me your thoughts.
It's very important for me, that's why I really appreciate your comments.
I also would really appreciate if you could also evaluate the
java naming conventions. (In this topic I'm not sure if I am strict following such conventions)
TIA,
Edisandro Bessa.
[ September 28, 2006: Message edited by: Edisandro Bessa ]