| Test connection, implementing a trivial collection database of MyRecords (only).
This technique would only be used by an application implementing the interface --
if all that is required is to put them in a hash map then use the DDynaConnection which
automatically creates a DynaBean.
Lots of cloning to simulate a database like behavior.
This code is a little messy, but it is an order of magnitude easier than having to write some sort of database!
|