You can parse the avail. seats
string to an integer when you need to process it. For ex. while validating a booking request (no of seats required should be less than no of seats available) or while updating the database after reducing the no. of available seats.
For displaying etc. you can simply use it as a string.
You can say that this is a limitation of your database that you can only store strings. You can but you don't need to modify the Data class for this.
-Paul.
------------------
Get Certified, Guaranteed!
www.enthuware.com/jqplus
SCJP2 Resources, WebCompiler, Compare Mock Exam Results and More!
www.jdiscuss.com Your guide to
SCJD exam!
www.enthuware.com/jdevplus