- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Yes, Rohit, I know all that. Seems I missed mentioning some information or maybe I just wasn't clear enough.
I can fill the arraycollection correctly by calling the fill method. I can add the item to the database by adding the new item to the arraycollection which executes the insert query.
The problem is that after the insert query is executed, my application seems to take a long time "returning" from that query. For example, after a customer is added, the user can go through and edit other items about that customer like their address. If the user edits the customer too soon (before the query returns), the primary key on the customer does not have a value so therefore I cannot use an update query on that customer yet.
When I look at my server when the insert is executed, I see all the customers scrolling like they are being retrieved from the database again. Is there a way to quickly add one item to the database and quickly get that item back without having to wait for the fill itself to refresh?
Views
Replies
Total Likes