From f3a3751ea49dadc76c9f1544dc17a7dba3b60945 Mon Sep 17 00:00:00 2001
From: James Ahlborn
@@ -186,7 +187,7 @@ support everything you may need when creating a new database, it does support a wide range of functionality, and adds more all the time. (If you started using Jackcess a while ago, you should - definitely keep tabs on the release notes, as your knowledge of what + definitely keep tabs on the release notes, as your knowledge of what is possible may be out of date).
@@ -201,20 +202,66 @@ Some notable gaps:
- As long as your needs fall into the + As long as your needs fall into the aforementioned constraints (or + if you can fake it), then let's get started! +
++ The first thing we need to choose is the desired FileFormat + of the new Database. Armed with that information, we can start + putting the pieces together using the appropriate builder classes. + Notice that the result of creating the new Database is an open + Database instance.
+- + An empty Database isn't very useful, of course, so we probably want + to add a Table or two. The following code will create the table + that we have used in the above examples. Notice that, like Database + creation, the result of the Table creation is an open Table + instance.
++ That is a very simple Table. In the real world, we often need Indexes + to speed up lookups and enforce uniqueness constraints. Adding the + following to the previous example will make the "ID" column a primary + key and enable speedier lookups on the "Name" column. +
+ ++ Don't forget to close the Database when you are finished building it + and now you have a fresh, new Database on which to test some more + recipes. +