diff options
Diffstat (limited to 'db/docs/gsg/JAVA/readSecondary.html')
-rw-r--r-- | db/docs/gsg/JAVA/readSecondary.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/docs/gsg/JAVA/readSecondary.html b/db/docs/gsg/JAVA/readSecondary.html index be2c6b1b1..e50d31a5f 100644 --- a/db/docs/gsg/JAVA/readSecondary.html +++ b/db/docs/gsg/JAVA/readSecondary.html @@ -55,7 +55,7 @@ to a person's full name: </p> <a id="java_index6"></a> - <pre class="programlisting">package com.sleepycat.examples.db.GettingStarted; + <pre class="programlisting">package db.GettingStarted; import com.sleepycat.db.DatabaseEntry; import com.sleepycat.db.LockMode; @@ -68,9 +68,9 @@ try { // Omitting all database opens ... - String searchName = "John Doe"; + String searchName = "John Doe"; DatabaseEntry searchKey = - new DatabaseEntry(searchName.getBytes("UTF-8")); + new DatabaseEntry(searchName.getBytes("UTF-8")); DatabaseEntry primaryKey = new DatabaseEntry(); DatabaseEntry primaryData = new DatabaseEntry(); |