From: James Ahlborn Date: Sun, 1 Dec 2013 02:13:53 +0000 (+0000) Subject: tweak example X-Git-Tag: jackcess-2.0.3~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=53be9634366b90d13dd2eb92aa660c46a979734e;p=jackcess.git tweak example git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@843 f203690c-595d-4dc9-a70b-905162fa7fd2 --- 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