From 53be9634366b90d13dd2eb92aa660c46a979734e Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Sun, 1 Dec 2013 02:13:53 +0000 Subject: [PATCH] tweak example git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@843 f203690c-595d-4dc9-a70b-905162fa7fd2 --- src/site/xdoc/cookbook.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/xdoc/cookbook.xml b/src/site/xdoc/cookbook.xml index 7bb31a9..8752425 100644 --- a/src/site/xdoc/cookbook.xml +++ b/src/site/xdoc/cookbook.xml @@ -251,12 +251,12 @@ key and enable speedier lookups on the "Name" column.

- // new TableBuilder(... + // ... new TableBuilder( ... .addIndex(new IndexBuilder(IndexBuilder.PRIMARY_KEY_NAME) .addColumns("ID").setPrimaryKey()) .addIndex(new IndexBuilder("NameIndex") .addColumns("Name")) - // .toTable(... + // ... .toTable( ...

Don't forget to close the Database when you are finished building it -- 2.39.5