]> source.dussan.org Git - jackcess.git/commitdiff
fix code example
authorJames Ahlborn <jtahlborn@yahoo.com>
Sat, 11 Oct 2014 13:55:16 +0000 (13:55 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Sat, 11 Oct 2014 13:55:16 +0000 (13:55 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@889 f203690c-595d-4dc9-a70b-905162fa7fd2

src/site/xdoc/cookbook.xml

index 6f13d272ede039fd55a8aa6087a0cfdf7bd655d1..c4197909419574d29cd2abdfe5613f19b99129a6 100644 (file)
   File file = new File("test.mdb");
   Database db = new DatabaseBuilder(file)
     .setFileFormat(Database.FileFormat.V2000)
-    .open();
+    .create();
 </source>
       </subsection>
       <subsection name="Creating a Table">