here it is
and also there is the dbkit example in the xojo examples folder.
and yes it is really easier to have an app that write all this classes and code for you