jdbc utility class code example
Example: jdbc utility class
I have a
1-create connection method
2-runQuery- to accept sql query
3-destroy method- for clean up all the connection statement etc
4-getRowCount
5-getColumnCount
6-getColumnNames
7-getRowDataAsList
8-getColumnDataAtRow
9-getColumnDataAsList
10-displayAllData
11-getRowMap
12-getAllDataAslistOfMap