Open Tais993 opened 2 years ago
Currently, in the code columnIndex is mainly being used.
This is fine, but the moment an column gets added, it has to be added to the end. This isn't always nice, and can cause weird tables.
Instead, columnLabel's should be used, that way the order doesn't matter and it can stay a logical order after updates.
This change only applies to ResultSet's, PreparedStatement's don't offer the functionality to use labels.
Currently, in the code columnIndex is mainly being used.
This is fine, but the moment an column gets added, it has to be added to the end. This isn't always nice, and can cause weird tables.
Instead, columnLabel's should be used, that way the order doesn't matter and it can stay a logical order after updates.
This change only applies to ResultSet's, PreparedStatement's don't offer the functionality to use labels.