Thanks for your observations and improvements of the DatabaseDemo to
use an AUTOINCREMENT key. Could you please review the attached patch
that revises the one you sent me earlier?
This patch updates the DatabaseDemo with the following modifications:
- Uses better SQL coding style
- The Id field now uses an AUTOINCREMENT primary key
- The Id & Timestamp is visible on the UI
- Query results are put in a FlexTable with headings
- Minor formatting changes.
M samples/database/src/com/google/gwt/gears/sample/database/client/DatabaseDemo.java
--
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/
+ dataTable.clearCell(i, 0);
+ dataTable.clearCell(i, 1);
Thanks for the patch and review. I updated the code with your
suggested changes and committed as r880.