reading specified no. of byte via readXXX() is not the good way. Because if the structure of database is changed, you program will be immediately unusable.
Originally posted by Soroj Margun:
But my point is, changing the code everytime database structure changed (especially a minor one like changing length of the field) may not be a good choice.