aboutsummaryrefslogtreecommitdiffstats
path: root/src/site/xdoc
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2013-12-01 02:13:53 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2013-12-01 02:13:53 +0000
commit53be9634366b90d13dd2eb92aa660c46a979734e (patch)
tree3ae1715a20df5bec2600c0e9ffb47d44942890f1 /src/site/xdoc
parent730ca96434f288405dccccee16d83c5746d58d74 (diff)
downloadjackcess-53be9634366b90d13dd2eb92aa660c46a979734e.tar.gz
jackcess-53be9634366b90d13dd2eb92aa660c46a979734e.zip
tweak example
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@843 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/site/xdoc')
-rw-r--r--src/site/xdoc/cookbook.xml4
1 files 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.
</p>
<source>
- // new TableBuilder(...
+ // ... new TableBuilder( ...
.addIndex(new IndexBuilder(IndexBuilder.PRIMARY_KEY_NAME)
.addColumns("ID").setPrimaryKey())
.addIndex(new IndexBuilder("NameIndex")
.addColumns("Name"))
- // .toTable(...
+ // ... .toTable( ...
</source>
<p>
Don't forget to close the Database when you are finished building it