George Walker

Greenhorn
+ Follow
since Apr 24, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by George Walker

Frans,

I've changed my booking method so that it takes a further argument, the String[] data of the currently selected record in the view. Then once I lock the record to be booked I compare the view record data against the newly read row from the db and if the descriptions differ, then I warn the user, end the booking, and refresh the table to show what has changed.

thanks for the help,


George.
Hi,

Wondering if anyone knows how to solve this problem or can provide some guidance.

I'm trying to complete the URLyBird application booking method.

How do I solve this problem: -

1) Client searches for a hotel and gets matching list.
2) Admin uses update on one of the records that the client is interested in. To say, change the location or hotel name, or even max number of persons etc.
3) Client now wishes to book the record as it was previously described. (their JTable has not been refreshed)
4) Client clicks book and thinks that they are booking the record as previously described, but are infact booking a different hotel (as amended by the admin).

The only thing that I am currently checking for during booking is that the record has not been deleted or booked by another client, but what if the record is updated as described above?


Just wondering how other people went about solving this one?

thanks,
George