summaryrefslogtreecommitdiff
path: root/docs/gsg
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/gsg
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'docs/gsg')
-rw-r--r--docs/gsg/C/BerkeleyDB-Core-C-GSG.pdfbin443743 -> 445093 bytes
-rw-r--r--docs/gsg/C/CoreCursorUsage.html32
-rw-r--r--docs/gsg/C/CoreDBAdmin.html2
-rw-r--r--docs/gsg/C/CoreDbUsage.html4
-rw-r--r--docs/gsg/C/CoreEnvUsage.html2
-rw-r--r--docs/gsg/C/Cursors.html2
-rw-r--r--docs/gsg/C/DBEntry.html2
-rw-r--r--docs/gsg/C/DBOpenFlags.html2
-rw-r--r--docs/gsg/C/DbUsage.html51
-rw-r--r--docs/gsg/C/DeleteEntryWCursor.html2
-rw-r--r--docs/gsg/C/Positioning.html2
-rw-r--r--docs/gsg/C/PutEntryWCursor.html2
-rw-r--r--docs/gsg/C/ReplacingEntryWCursor.html2
-rw-r--r--docs/gsg/C/accessmethods.html2
-rw-r--r--docs/gsg/C/btree.html18
-rw-r--r--docs/gsg/C/cachesize.html2
-rw-r--r--docs/gsg/C/concepts.html2
-rw-r--r--docs/gsg/C/coredbclose.html2
-rw-r--r--docs/gsg/C/coreindexusage.html13
-rw-r--r--docs/gsg/C/cstructs.html2
-rw-r--r--docs/gsg/C/databaseLimits.html11
-rw-r--r--docs/gsg/C/databases.html2
-rw-r--r--docs/gsg/C/dbErrorReporting.html2
-rw-r--r--docs/gsg/C/dbconfig.html4
-rw-r--r--docs/gsg/C/environments.html2
-rw-r--r--docs/gsg/C/gettingit.html4
-rw-r--r--docs/gsg/C/index.html10
-rw-r--r--docs/gsg/C/indexes.html2
-rw-r--r--docs/gsg/C/introduction.html4
-rw-r--r--docs/gsg/C/joins.html2
-rw-r--r--docs/gsg/C/keyCreator.html2
-rw-r--r--docs/gsg/C/moreinfo.html20
-rw-r--r--docs/gsg/C/preface.html4
-rw-r--r--docs/gsg/C/readSecondary.html2
-rw-r--r--docs/gsg/C/returns.html2
-rw-r--r--docs/gsg/C/secondaryCursor.html2
-rw-r--r--docs/gsg/C/secondaryDelete.html9
-rw-r--r--docs/gsg/C/usingDbt.html2
-rw-r--r--docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdfbin411727 -> 412855 bytes
-rw-r--r--docs/gsg/CXX/CoreCursorUsage.html8
-rw-r--r--docs/gsg/CXX/CoreDBAdmin.html2
-rw-r--r--docs/gsg/CXX/CoreDbCXXUsage.html4
-rw-r--r--docs/gsg/CXX/CoreEnvUsage.html2
-rw-r--r--docs/gsg/CXX/Cursors.html2
-rw-r--r--docs/gsg/CXX/DBEntry.html2
-rw-r--r--docs/gsg/CXX/DBOpenFlags.html2
-rw-r--r--docs/gsg/CXX/DbCXXUsage.html33
-rw-r--r--docs/gsg/CXX/DeleteEntryWCursor.html2
-rw-r--r--docs/gsg/CXX/Positioning.html2
-rw-r--r--docs/gsg/CXX/PutEntryWCursor.html2
-rw-r--r--docs/gsg/CXX/ReplacingEntryWCursor.html2
-rw-r--r--docs/gsg/CXX/accessmethods.html2
-rw-r--r--docs/gsg/CXX/btree.html18
-rw-r--r--docs/gsg/CXX/cachesize.html2
-rw-r--r--docs/gsg/CXX/concepts.html2
-rw-r--r--docs/gsg/CXX/coreExceptions.html2
-rw-r--r--docs/gsg/CXX/coredbclose.html2
-rw-r--r--docs/gsg/CXX/coreindexusage.html18
-rw-r--r--docs/gsg/CXX/databaseLimits.html11
-rw-r--r--docs/gsg/CXX/databases.html2
-rw-r--r--docs/gsg/CXX/dbErrorReporting.html2
-rw-r--r--docs/gsg/CXX/dbconfig.html4
-rw-r--r--docs/gsg/CXX/environments.html2
-rw-r--r--docs/gsg/CXX/gettingit.html4
-rw-r--r--docs/gsg/CXX/index.html10
-rw-r--r--docs/gsg/CXX/indexes.html2
-rw-r--r--docs/gsg/CXX/introduction.html4
-rw-r--r--docs/gsg/CXX/joins.html2
-rw-r--r--docs/gsg/CXX/keyCreator.html2
-rw-r--r--docs/gsg/CXX/moreinfo.html20
-rw-r--r--docs/gsg/CXX/preface.html4
-rw-r--r--docs/gsg/CXX/readSecondary.html2
-rw-r--r--docs/gsg/CXX/returns.html2
-rw-r--r--docs/gsg/CXX/secondaryCursor.html2
-rw-r--r--docs/gsg/CXX/secondaryDelete.html9
-rw-r--r--docs/gsg/CXX/usingDbt.html2
-rw-r--r--docs/gsg/JAVA/BerkeleyDB-Core-JAVA-GSG.pdfbin666010 -> 666198 bytes
-rw-r--r--docs/gsg/JAVA/CoreEnvUsage.html2
-rw-r--r--docs/gsg/JAVA/CoreJavaUsage.html4
-rw-r--r--docs/gsg/JAVA/Cursors.html2
-rw-r--r--docs/gsg/JAVA/DBAdmin.html2
-rw-r--r--docs/gsg/JAVA/DBEntry.html2
-rw-r--r--docs/gsg/JAVA/DeleteEntryWCursor.html2
-rw-r--r--docs/gsg/JAVA/Env.html2
-rw-r--r--docs/gsg/JAVA/EnvClose.html2
-rw-r--r--docs/gsg/JAVA/EnvProps.html2
-rw-r--r--docs/gsg/JAVA/Positioning.html2
-rw-r--r--docs/gsg/JAVA/PutEntryWCursor.html2
-rw-r--r--docs/gsg/JAVA/ReplacingEntryWCursor.html2
-rw-r--r--docs/gsg/JAVA/accessmethods.html2
-rw-r--r--docs/gsg/JAVA/baseapi.html2
-rw-r--r--docs/gsg/JAVA/bindAPI.html2
-rw-r--r--docs/gsg/JAVA/btree.html6
-rw-r--r--docs/gsg/JAVA/cachesize.html2
-rw-r--r--docs/gsg/JAVA/coreExceptions.html2
-rw-r--r--docs/gsg/JAVA/coredbclose.html2
-rw-r--r--docs/gsg/JAVA/cursorJavaUsage.html6
-rw-r--r--docs/gsg/JAVA/dataaccessorclass.html2
-rw-r--r--docs/gsg/JAVA/databaseLimits.html11
-rw-r--r--docs/gsg/JAVA/databases.html2
-rw-r--r--docs/gsg/JAVA/dbErrorReporting.html2
-rw-r--r--docs/gsg/JAVA/dbconfig.html4
-rw-r--r--docs/gsg/JAVA/dbprops.html2
-rw-r--r--docs/gsg/JAVA/dbtJavaUsage.html8
-rw-r--r--docs/gsg/JAVA/dpl.html2
-rw-r--r--docs/gsg/JAVA/dpl_delete.html2
-rw-r--r--docs/gsg/JAVA/dpl_entityjoin.html2
-rw-r--r--docs/gsg/JAVA/dpl_example.html2
-rw-r--r--docs/gsg/JAVA/dpl_exampledatabaseput.html2
-rw-r--r--docs/gsg/JAVA/dpl_exampleinventoryread.html2
-rw-r--r--docs/gsg/JAVA/dpl_replace.html2
-rw-r--r--docs/gsg/JAVA/dplindexcreate.html2
-rw-r--r--docs/gsg/JAVA/getmultiple.html2
-rw-r--r--docs/gsg/JAVA/gettingit.html4
-rw-r--r--docs/gsg/JAVA/index.html8
-rw-r--r--docs/gsg/JAVA/indexes.html2
-rw-r--r--docs/gsg/JAVA/introduction.html4
-rw-r--r--docs/gsg/JAVA/inventoryclass.html2
-rw-r--r--docs/gsg/JAVA/javadplconcepts.html2
-rw-r--r--docs/gsg/JAVA/javaindexusage.html27
-rw-r--r--docs/gsg/JAVA/joins.html2
-rw-r--r--docs/gsg/JAVA/keyCreator.html2
-rw-r--r--docs/gsg/JAVA/moreinfo.html22
-rw-r--r--docs/gsg/JAVA/mydbenv-persist.html2
-rw-r--r--docs/gsg/JAVA/persist_access.html2
-rw-r--r--docs/gsg/JAVA/persist_first.html2
-rw-r--r--docs/gsg/JAVA/persist_index.html2
-rw-r--r--docs/gsg/JAVA/persistobject.html2
-rw-r--r--docs/gsg/JAVA/preface.html4
-rw-r--r--docs/gsg/JAVA/readSecondary.html2
-rw-r--r--docs/gsg/JAVA/returns.html2
-rw-r--r--docs/gsg/JAVA/saveret.html2
-rw-r--r--docs/gsg/JAVA/secondaryCursor.html2
-rw-r--r--docs/gsg/JAVA/secondaryDelete.html9
-rw-r--r--docs/gsg/JAVA/secondaryProps.html2
-rw-r--r--docs/gsg/JAVA/simpleda.html2
-rw-r--r--docs/gsg/JAVA/simpleget.html2
-rw-r--r--docs/gsg/JAVA/simpleput.html2
-rw-r--r--docs/gsg/JAVA/usingDbt.html2
139 files changed, 327 insertions, 315 deletions
diff --git a/docs/gsg/C/BerkeleyDB-Core-C-GSG.pdf b/docs/gsg/C/BerkeleyDB-Core-C-GSG.pdf
index ceb16c18..5328f464 100644
--- a/docs/gsg/C/BerkeleyDB-Core-C-GSG.pdf
+++ b/docs/gsg/C/BerkeleyDB-Core-C-GSG.pdf
Binary files differ
diff --git a/docs/gsg/C/CoreCursorUsage.html b/docs/gsg/C/CoreCursorUsage.html
index 0d681396..a04474d2 100644
--- a/docs/gsg/C/CoreCursorUsage.html
+++ b/docs/gsg/C/CoreCursorUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -94,7 +94,7 @@
Remember that you can find the complete implementation of this application
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -126,7 +126,12 @@ int show_vendor_record(char *, DB *); </pre>
</p>
<a id="c_cursor11"></a>
<pre class="programlisting">/*
- * Displays all inventory items and the associated vendor record.
+ * Searches for an inventory item based on that item's name. The search is
+ * performed using the item name secondary database. Displays all
+ * inventory items that use the specified name, as well as the vendor
+ * associated with that inventory item.
+ *
+ * If no item name is provided, then all inventory items are displayed.
*/
int
main(int argc, char *argv[])
@@ -176,7 +181,7 @@ main(int argc, char *argv[])
<a id="c_cursor12"></a>
<pre class="programlisting">int show_all_records(STOCK_DBS *my_stock)
{
- DBC *cursorp;
+ DBC *inventory_cursorp;
DBT key, data;
char *the_vendor;
int exit_value, ret;
@@ -187,7 +192,7 @@ main(int argc, char *argv[])
/* Get a cursor to the itemname db */
my_stock-&gt;inventory_dbp-&gt;cursor(my_stock-&gt;inventory_dbp, NULL,
- &amp;cursorp, 0);
+ &amp;inventory_cursorp, 0);
/*
* Iterate over the inventory database, from the first record
@@ -195,7 +200,7 @@ main(int argc, char *argv[])
*/
exit_value = 0;
while ((ret =
- cursorp-&gt;get(cursorp, &amp;key, &amp;data, DB_NEXT))
+ inventory_cursorp-&gt;get(inventory_cursorp, &amp;key, &amp;data, DB_NEXT))
== 0)
{
the_vendor = show_inventory_item(data.data);
@@ -207,7 +212,7 @@ main(int argc, char *argv[])
}
/* Close the cursor */
- cursorp-&gt;close(cursorp);
+ inventory_cursorp-&gt;close(inventory_cursorp);
return(exit_value);
} </pre>
<p>
@@ -224,13 +229,18 @@ main(int argc, char *argv[])
</p>
<a id="c_cursor13"></a>
<pre class="programlisting">/*
- * Shows an inventory item.
+ * Shows an inventory item. How we retrieve the inventory
+ * item values from the provided buffer is strictly dependent
+ * on the order that those items were originally stored in the
+ * DBT. See load_inventory_database in example_database_load
+ * for how this was done.
*/
char *
show_inventory_item(void *vBuf)
{
float price;
- int buf_pos, quantity;
+ int quantity;
+ size_t buf_pos;
char *category, *name, *sku, *vendor_name;
char *buf = (char *)vBuf;
@@ -298,7 +308,7 @@ show_vendor_record(char *vendor_name, DB *vendor_dbp)
/* Set the search key to the vendor's name */
key.data = vendor_name;
- key.size = strlen(vendor_name) + 1;
+ key.size = (u_int32_t)strlen(vendor_name) + 1;
/*
* Make sure we use the memory we set aside for the VENDOR
@@ -312,7 +322,7 @@ show_vendor_record(char *vendor_name, DB *vendor_dbp)
data.flags = DB_DBT_USERMEM;
/* Get the record */
- ret = vendor_dbp-&gt;get(vendor_dbp, 0, &amp;key, &amp;data, 0);
+ ret = vendor_dbp-&gt;get(vendor_dbp, NULL, &amp;key, &amp;data, 0);
if (ret != 0) {
vendor_dbp-&gt;err(vendor_dbp, ret,
"Error searching for vendor: '%s'", vendor_name);
diff --git a/docs/gsg/C/CoreDBAdmin.html b/docs/gsg/C/CoreDBAdmin.html
index 88529531..18bea6ee 100644
--- a/docs/gsg/C/CoreDBAdmin.html
+++ b/docs/gsg/C/CoreDBAdmin.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/CoreDbUsage.html b/docs/gsg/C/CoreDbUsage.html
index f5ee294d..8d08b110 100644
--- a/docs/gsg/C/CoreDbUsage.html
+++ b/docs/gsg/C/CoreDbUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -52,7 +52,7 @@
Note that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/C/CoreEnvUsage.html b/docs/gsg/C/CoreEnvUsage.html
index ed77fc4f..50e59d8b 100644
--- a/docs/gsg/C/CoreEnvUsage.html
+++ b/docs/gsg/C/CoreEnvUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/Cursors.html b/docs/gsg/C/Cursors.html
index b3857e9c..0fc889c4 100644
--- a/docs/gsg/C/Cursors.html
+++ b/docs/gsg/C/Cursors.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/DBEntry.html b/docs/gsg/C/DBEntry.html
index 0eb7a364..bb0fce35 100644
--- a/docs/gsg/C/DBEntry.html
+++ b/docs/gsg/C/DBEntry.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/DBOpenFlags.html b/docs/gsg/C/DBOpenFlags.html
index 2f64a071..7f8a1607 100644
--- a/docs/gsg/C/DBOpenFlags.html
+++ b/docs/gsg/C/DBOpenFlags.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/DbUsage.html b/docs/gsg/C/DbUsage.html
index c272b9de..a7432990 100644
--- a/docs/gsg/C/DbUsage.html
+++ b/docs/gsg/C/DbUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -46,7 +46,7 @@
Again, remember that you can find the complete implementation for these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -109,7 +109,7 @@
this example program. However, as always you can find the complete
implementation for this program here:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -123,7 +123,7 @@
/* Forward declarations */
int load_vendors_database(STOCK_DBS, char *);
-int pack_string(char *, char *, int);
+size_t pack_string(char *, char *, size_t);
int load_inventory_database(STOCK_DBS, char *); </pre>
<p>
Next we begin our <code class="function">main()</code> function with the variable
@@ -139,7 +139,8 @@ int
main(int argc, char *argv[])
{
STOCK_DBS my_stock;
- int ret, size;
+ int ret;
+ size_t size;
char *basename, *inventory_file, *vendor_file;
/* Initialize the STOCK_DBS struct */
@@ -177,20 +178,20 @@ main(int argc, char *argv[])
/* Open all databases */
ret = databases_setup(&amp;my_stock, "example_database_load", stderr);
- if (ret != 0) {
- fprintf(stderr, "Error opening databases\n");
+ if (ret) {
+ fprintf(stderr, "Error opening databases.\n");
databases_close(&amp;my_stock);
return (ret);
}
ret = load_vendors_database(my_stock, vendor_file);
- if (!ret) {
+ if (ret) {
fprintf(stderr, "Error loading vendors database.\n");
databases_close(&amp;my_stock);
return (ret);
}
ret = load_inventory_database(my_stock, inventory_file);
- if (!ret) {
+ if (ret) {
fprintf(stderr, "Error loading inventory database.\n");
databases_close(&amp;my_stock);
return (ret);
@@ -233,9 +234,9 @@ int
load_vendors_database(STOCK_DBS my_stock, char *vendor_file)
{
DBT key, data;
+ char buf[MAXLINE];
FILE *ifp;
VENDOR my_vendor;
- char buf[MAXLINE];
/* Open the vendor file for read access */
ifp = fopen(vendor_file, "r");
@@ -272,11 +273,11 @@ load_vendors_database(STOCK_DBS my_stock, char *vendor_file)
/* Set up the database record's key */
key.data = my_vendor.name;
- key.size = strlen(my_vendor.name) + 1;
+ key.size = (u_int32_t)strlen(my_vendor.name) + 1;
/* Set up the database record's data */
data.data = &amp;my_vendor;
- data.size = sizeof(my_vendor);
+ data.size = sizeof(VENDOR);
/*
* Note that given the way we built our struct, there are extra
@@ -330,10 +331,11 @@ load_vendors_database(STOCK_DBS my_stock, char *vendor_file)
* appropriate location. Used to ensure that all our strings
* are contained in a single contiguous chunk of memory.
*/
-int
-pack_string(char *buffer, char *string, int start_pos)
+size_t
+pack_string(char *buffer, char *string, size_t start_pos)
{
- int string_size = strlen(string) + 1;
+ size_t string_size;
+ string_size = strlen(string) + 1;
memcpy(buffer+start_pos, string, string_size);
@@ -345,15 +347,19 @@ pack_string(char *buffer, char *string, int start_pos)
<a id="c_dbt15"></a>
<pre class="programlisting">/*
* Loads the contents of the inventory.txt file into
- * a database.
+ * a database. Note that because the itemname
+ * secondary database is associated to the inventorydb
+ * (see env_setup() in gettingstarted_common.c), the
+ * itemname index is automatically created when this
+ * database is loaded.
*/
int
load_inventory_database(STOCK_DBS my_stock, char *inventory_file)
{
DBT key, data;
char buf[MAXLINE];
- void *databuf;
- int bufLen, dataLen;
+ char databuf[MAXDATABUF];
+ size_t bufLen, dataLen;
FILE *ifp;
/*
@@ -374,9 +380,6 @@ load_inventory_database(STOCK_DBS my_stock, char *inventory_file)
return(-1);
}
- /* Get our buffer. MAXDATABUF is some suitably large number */
- databuf = malloc(MAXDATABUF);
-
/*
* Read the inventory.txt file line by line, saving each line off to
* the database as we go.
@@ -438,11 +441,11 @@ load_inventory_database(STOCK_DBS my_stock, char *inventory_file)
* not support duplicates for this database.
*/
key.data = sku;
- key.size = strlen(sku) + 1;
+ key.size = (u_int32_t)strlen(sku) + 1;
/* The data is the information that we packed into databuf. */
data.data = databuf;
- data.size = bufLen;
+ data.size = (u_int32_t)bufLen;
/* Put the data into the database */
my_stock.vendor_dbp-&gt;put(my_stock.inventory_dbp, 0,
@@ -451,8 +454,6 @@ load_inventory_database(STOCK_DBS my_stock, char *inventory_file)
/* Cleanup */
fclose(ifp);
- if (databuf != NULL)
- free(databuf);
return(0);
} </pre>
diff --git a/docs/gsg/C/DeleteEntryWCursor.html b/docs/gsg/C/DeleteEntryWCursor.html
index 43760c9a..f81dc34c 100644
--- a/docs/gsg/C/DeleteEntryWCursor.html
+++ b/docs/gsg/C/DeleteEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/Positioning.html b/docs/gsg/C/Positioning.html
index 5732daac..e2ffb284 100644
--- a/docs/gsg/C/Positioning.html
+++ b/docs/gsg/C/Positioning.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/PutEntryWCursor.html b/docs/gsg/C/PutEntryWCursor.html
index 69227571..44934a9a 100644
--- a/docs/gsg/C/PutEntryWCursor.html
+++ b/docs/gsg/C/PutEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/ReplacingEntryWCursor.html b/docs/gsg/C/ReplacingEntryWCursor.html
index 5c8b25bd..10c519dc 100644
--- a/docs/gsg/C/ReplacingEntryWCursor.html
+++ b/docs/gsg/C/ReplacingEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/accessmethods.html b/docs/gsg/C/accessmethods.html
index b25e48f3..74ad12b6 100644
--- a/docs/gsg/C/accessmethods.html
+++ b/docs/gsg/C/accessmethods.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/btree.html b/docs/gsg/C/btree.html
index 2d86622b..8be34c89 100644
--- a/docs/gsg/C/btree.html
+++ b/docs/gsg/C/btree.html
@@ -13,7 +13,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -428,7 +428,7 @@ if (ret != 0) {
do not sort well when viewed as byte strings. There are
several solutions to this problem, one being to provide a
custom comparison function. See
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
for more information.
</p>
</li>
@@ -485,10 +485,13 @@ if (ret != 0) {
occur.
</p>
<p>
- The value that you provide to the <code class="methodname">set_bt_compare()</code> method
- is a pointer to a function that has the following signature:
- </p>
- <pre class="programlisting">int (*function)(DB *db, const DBT *key1, const DBT *key2)</pre>
+ The value that you provide to the
+ <code class="methodname">set_bt_compare()</code> method
+ is a pointer to a function that has the following signature:
+ </p>
+ <pre class="programlisting">
+int (*function)(DB *db, const DBT *key1, const DBT *key2, size_t *locp)
+ </pre>
<p>
This function must return an integer value less than, equal to,
or greater than 0. If key1 is considered to be greater than
@@ -513,10 +516,11 @@ if (ret != 0) {
</p>
<a id="c_btree1"></a>
<pre class="programlisting">int
-compare_int(DB *dbp, const DBT *a, const DBT *b)
+compare_int(DB *dbp, const DBT *a, const DBT *b, size_t *locp)
{
int ai, bi;
+ locp = NULL;
/*
* Returns:
* &lt; 0 if a &lt; b
diff --git a/docs/gsg/C/cachesize.html b/docs/gsg/C/cachesize.html
index 2e708982..2db3a275 100644
--- a/docs/gsg/C/cachesize.html
+++ b/docs/gsg/C/cachesize.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/concepts.html b/docs/gsg/C/concepts.html
index 2bc25b47..31329b9a 100644
--- a/docs/gsg/C/concepts.html
+++ b/docs/gsg/C/concepts.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/coredbclose.html b/docs/gsg/C/coredbclose.html
index 517c1a9f..e110a9df 100644
--- a/docs/gsg/C/coredbclose.html
+++ b/docs/gsg/C/coredbclose.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/coreindexusage.html b/docs/gsg/C/coreindexusage.html
index 2ad0b737..45add947 100644
--- a/docs/gsg/C/coreindexusage.html
+++ b/docs/gsg/C/coreindexusage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -133,7 +133,7 @@
Remember that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -222,8 +222,8 @@ get_item_name(DB *dbp, const DBT *pkey, const DBT *pdata, DBT *skey)
/* Now set the secondary key's data to be the item name */
memset(skey, 0, sizeof(DBT));
- skey-&gt;data = pdata-&gt;data + offset;
- skey-&gt;size = strlen(skey-&gt;data) + 1;
+ skey-&gt;data = (u_int8_t *)pdata-&gt;data + offset;
+ skey-&gt;size = (u_int32_t)strlen(skey-&gt;data) + 1;
return (0);
}</code></strong> </pre>
@@ -300,8 +300,7 @@ set_db_filenames(STOCK_DBS *my_stock)
int
open_database(DB **dbpp, /* The DB handle that we are opening */
const char *file_name, /* The file in which the db lives */
- const char *program_name, /* Name of the program calling this
- * function */
+ const char *program_name, /* Name of the program. */
FILE *error_file_pointer,
<strong class="userinput"><code>int is_secondary</code></strong>)
{
@@ -613,7 +612,7 @@ main(int argc, char *argv[])
application
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/C/cstructs.html b/docs/gsg/C/cstructs.html
index 40cb6614..53c26266 100644
--- a/docs/gsg/C/cstructs.html
+++ b/docs/gsg/C/cstructs.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/databaseLimits.html b/docs/gsg/C/databaseLimits.html
index f244f51c..380157eb 100644
--- a/docs/gsg/C/databaseLimits.html
+++ b/docs/gsg/C/databaseLimits.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -39,9 +39,12 @@
<p>
Berkeley DB provides support for managing everything from very small
databases that fit entirely in memory, to extremely large databases
- holding millions of records and terabytes of data. DB databases can
- store up to 256 terabytes of data. Individual record keys or record
- data can store up to 4 gigabytes of data.
+ holding millions of records and terabytes of data. An individual
+ DB database can store up to 256 terabytes of data. By using
+ multiple databases, it is possible to use DB to store and
+ manage petabytes of information. Within a single database,
+ individual record keys or record data can be used to store up to 4
+ gigabytes of data.
</p>
<p>
DB's databases store data in a binary format that is portable across
diff --git a/docs/gsg/C/databases.html b/docs/gsg/C/databases.html
index b1cc1741..86ec43d2 100644
--- a/docs/gsg/C/databases.html
+++ b/docs/gsg/C/databases.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/dbErrorReporting.html b/docs/gsg/C/dbErrorReporting.html
index 30f6098f..08375f24 100644
--- a/docs/gsg/C/dbErrorReporting.html
+++ b/docs/gsg/C/dbErrorReporting.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/dbconfig.html b/docs/gsg/C/dbconfig.html
index 119bb353..977950a7 100644
--- a/docs/gsg/C/dbconfig.html
+++ b/docs/gsg/C/dbconfig.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -362,7 +362,7 @@
filesystem's block size causes DB to write pages in block
size increments. As a result, it is possible for a partial page
to be written as the result of a transactional commit. For more
- information, see <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
+ information, see <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
</p>
</div>
</div>
diff --git a/docs/gsg/C/environments.html b/docs/gsg/C/environments.html
index c8324827..4ec846ce 100644
--- a/docs/gsg/C/environments.html
+++ b/docs/gsg/C/environments.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/gettingit.html b/docs/gsg/C/gettingit.html
index b07eef30..91ee29c8 100644
--- a/docs/gsg/C/gettingit.html
+++ b/docs/gsg/C/gettingit.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -38,7 +38,7 @@
</div>
<p>
You can obtain DB by visiting the Berkeley DB download page:
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
<p>
To install DB, untar or unzip the distribution to the directory of
diff --git a/docs/gsg/C/index.html b/docs/gsg/C/index.html
index aa14a695..712878c5 100644
--- a/docs/gsg/C/index.html
+++ b/docs/gsg/C/index.html
@@ -12,7 +12,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -30,11 +30,11 @@
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a id="idp51108392"></a>Getting Started with Berkeley DB</h1>
+ <h1 class="title"><a id="idm125144"></a>Getting Started with Berkeley DB</h1>
</div>
<div>
<div class="legalnotice">
- <a id="idp51137928"></a>
+ <a id="idp460392"></a>
<p class="legalnotice-title">
<b>Legal Notice</b>
</p>
@@ -64,7 +64,7 @@
<p>
To obtain a copy of this document's original source code, please
submit a request to the Oracle Technology Network forum at:
- <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>
+ <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>
</p>
@@ -72,7 +72,7 @@
</div>
</div>
<div>
- <p class="pubdate">5/11/2012</p>
+ <p class="pubdate">2/17/2015</p>
</div>
</div>
<hr />
diff --git a/docs/gsg/C/indexes.html b/docs/gsg/C/indexes.html
index 951920f0..cf8a0d25 100644
--- a/docs/gsg/C/indexes.html
+++ b/docs/gsg/C/indexes.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/introduction.html b/docs/gsg/C/introduction.html
index 47645345..e3811050 100644
--- a/docs/gsg/C/introduction.html
+++ b/docs/gsg/C/introduction.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -204,7 +204,7 @@
In addition to being presented in this book, these final programs are also
available in the DB software distribution. You can find them in
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_c/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/c/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the
location where you placed your DB distribution.
diff --git a/docs/gsg/C/joins.html b/docs/gsg/C/joins.html
index 6fb55616..a2d7136d 100644
--- a/docs/gsg/C/joins.html
+++ b/docs/gsg/C/joins.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/keyCreator.html b/docs/gsg/C/keyCreator.html
index df9a780f..4e607e1c 100644
--- a/docs/gsg/C/keyCreator.html
+++ b/docs/gsg/C/keyCreator.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/moreinfo.html b/docs/gsg/C/moreinfo.html
index 26872a6f..d8f61cf4 100644
--- a/docs/gsg/C/moreinfo.html
+++ b/docs/gsg/C/moreinfo.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -55,7 +55,7 @@
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_txn/C/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_txn/C/index.html" target="_top">
Getting Started with Transaction Processing for C
</a>
@@ -66,7 +66,7 @@
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_db_rep/C/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_db_rep/C/index.html" target="_top">
Berkeley DB Getting Started with Replicated Applications for C
</a>
@@ -75,21 +75,21 @@
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/index.html" target="_top">
Berkeley DB Programmer's Reference Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/installation/index.html" target="_top">
Berkeley DB Installation and Build Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/bdb-sql/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/bdb-sql/index.html" target="_top">
Berkeley DB Getting Started with the SQL APIs
</a>
</p>
@@ -97,7 +97,7 @@
<li>
<p>
<span>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/frame_main.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/api_reference/C/frame_main.html" target="_top">
Berkeley DB C API Reference Guide
</a>
@@ -128,7 +128,7 @@
downloads, visit
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
</span>
<div class="sect2" lang="en" xml:lang="en">
@@ -143,8 +143,8 @@
You can post your comments and questions at the Oracle
Technology (OTN) forum for
<span>
- Oracle Berkeley DB at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
- or for Oracle Berkeley DB High Availability at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
+ Oracle Berkeley DB at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
+ or for Oracle Berkeley DB High Availability at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
</span>
diff --git a/docs/gsg/C/preface.html b/docs/gsg/C/preface.html
index 09dd6aca..de4019b1 100644
--- a/docs/gsg/C/preface.html
+++ b/docs/gsg/C/preface.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -67,7 +67,7 @@
<span>
- This document introduces Berkeley DB 11<span class="emphasis"><em>g</em></span> Release 2, which provides DB library version 11.2.5.3.
+ This document introduces Berkeley DB 12<span class="emphasis"><em>c</em></span> Release 1, which provides DB library version 12.1.6.1.
</span>
</p>
<p>
diff --git a/docs/gsg/C/readSecondary.html b/docs/gsg/C/readSecondary.html
index 670cf9eb..088332d1 100644
--- a/docs/gsg/C/readSecondary.html
+++ b/docs/gsg/C/readSecondary.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/returns.html b/docs/gsg/C/returns.html
index e4e32fb8..ec58675e 100644
--- a/docs/gsg/C/returns.html
+++ b/docs/gsg/C/returns.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/secondaryCursor.html b/docs/gsg/C/secondaryCursor.html
index 77eb76cc..82be36aa 100644
--- a/docs/gsg/C/secondaryCursor.html
+++ b/docs/gsg/C/secondaryCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/C/secondaryDelete.html b/docs/gsg/C/secondaryDelete.html
index 7f324796..c2284633 100644
--- a/docs/gsg/C/secondaryDelete.html
+++ b/docs/gsg/C/secondaryDelete.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -59,16 +59,11 @@
<code class="methodname">DB-&gt;del()</code>
- method to delete a secondary database record.
-
-
-
- <span>Note that if your
+ method to delete a secondary database record. Note that if your
<span>secondary database</span>
contains duplicate records, then deleting a record from the set of
duplicates causes all of the duplicates to be deleted as well.
- </span>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
diff --git a/docs/gsg/C/usingDbt.html b/docs/gsg/C/usingDbt.html
index 6b8725a8..90f80686 100644
--- a/docs/gsg/C/usingDbt.html
+++ b/docs/gsg/C/usingDbt.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf b/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf
index cfe7fa54..5f667e33 100644
--- a/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf
+++ b/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf
Binary files differ
diff --git a/docs/gsg/CXX/CoreCursorUsage.html b/docs/gsg/CXX/CoreCursorUsage.html
index cdb1011c..054f8fb0 100644
--- a/docs/gsg/CXX/CoreCursorUsage.html
+++ b/docs/gsg/CXX/CoreCursorUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -94,7 +94,7 @@
Remember that you can find the complete implementation of this application
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -111,7 +111,7 @@
function.
</p>
<a id="cxx_cursor10"></a>
- <pre class="programlisting">// File: example_database_read.cpp
+ <pre class="programlisting">// File: excxx_example_database_read.cpp
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;cstdlib&gt;
@@ -232,7 +232,7 @@ show_vendor(MyDb &amp;vendorDB, const char *vendor)
// Set the search key to the vendor's name
// vendor is explicitly cast to char * to stop a compiler
// complaint.
- Dbt key((char *)vendor, strlen(vendor) + 1);
+ Dbt key((char *)vendor, (u_int32_t)strlen(vendor) + 1);
// Make sure we use the memory we set aside for the VENDOR
// structure rather than the memory that DB allocates.
diff --git a/docs/gsg/CXX/CoreDBAdmin.html b/docs/gsg/CXX/CoreDBAdmin.html
index 4e5bc9e0..7b45c95c 100644
--- a/docs/gsg/CXX/CoreDBAdmin.html
+++ b/docs/gsg/CXX/CoreDBAdmin.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/CoreDbCXXUsage.html b/docs/gsg/CXX/CoreDbCXXUsage.html
index 4f8243f5..ef795b9b 100644
--- a/docs/gsg/CXX/CoreDbCXXUsage.html
+++ b/docs/gsg/CXX/CoreDbCXXUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -51,7 +51,7 @@
Note that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/CXX/CoreEnvUsage.html b/docs/gsg/CXX/CoreEnvUsage.html
index 458aaf9d..847a9f80 100644
--- a/docs/gsg/CXX/CoreEnvUsage.html
+++ b/docs/gsg/CXX/CoreEnvUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/Cursors.html b/docs/gsg/CXX/Cursors.html
index 28559a34..3d78df40 100644
--- a/docs/gsg/CXX/Cursors.html
+++ b/docs/gsg/CXX/Cursors.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/DBEntry.html b/docs/gsg/CXX/DBEntry.html
index b75e47cf..ed61942c 100644
--- a/docs/gsg/CXX/DBEntry.html
+++ b/docs/gsg/CXX/DBEntry.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/DBOpenFlags.html b/docs/gsg/CXX/DBOpenFlags.html
index 8f51d48d..5674efb0 100644
--- a/docs/gsg/CXX/DBOpenFlags.html
+++ b/docs/gsg/CXX/DBOpenFlags.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/DbCXXUsage.html b/docs/gsg/CXX/DbCXXUsage.html
index 5c4b7133..68217b30 100644
--- a/docs/gsg/CXX/DbCXXUsage.html
+++ b/docs/gsg/CXX/DbCXXUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -46,7 +46,7 @@
Again, remember that you can find the complete implementation for these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -146,10 +146,10 @@ public:
{
price_ = 0.0;
quantity_ = 0;
- category_.clear();
- name_.clear();
- vendor_.clear();
- sku_.clear();
+ category_ = "";
+ name_ = "";
+ vendor_ = "";
+ sku_ = "";
} </pre>
<p>
Next we implement our constructors. The default constructor simply calls
@@ -252,7 +252,7 @@ public:
void
packString(char *buffer, std::string &amp;theString)
{
- int string_size = theString.size() + 1;
+ size_t string_size = theString.size() + 1;
memcpy(buffer+bufLen_, theString.c_str(), string_size);
bufLen_ += string_size;
}
@@ -261,7 +261,7 @@ public:
std::string category_, name_, vendor_, sku_;
double price_;
long quantity_;
- int bufLen_;
+ size_t bufLen_;
char databuf_[500];
}; </pre>
</div>
@@ -279,7 +279,7 @@ public:
this example program. However, as always you can find the complete
implementation for this program here:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -288,7 +288,7 @@ public:
We begin with the normal include directives and forward declarations:
</p>
<a id="cxx_dbt16"></a>
- <pre class="programlisting">// File: example_database_load.cpp
+ <pre class="programlisting">// File: excxx_example_database_load.cpp
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;cstdlib&gt;
@@ -334,11 +334,12 @@ main(int argc, char *argv[])
MyDb inventoryDB(databaseHome, iDbName);
MyDb vendorDB(databaseHome, vDbName);
+ // Load the inventory database
+ loadInventoryDB(inventoryDB, inventoryFile);
+
// Load the vendor database
loadVendorDB(vendorDB, vendorFile);
- // Load the inventory database
- loadInventoryDB(inventoryDB, inventoryFile);
} catch(DbException &amp;e) {
std::cerr &lt;&lt; "Error loading databases. " &lt;&lt; std::endl;
std::cerr &lt;&lt; e.what() &lt;&lt; std::endl;
@@ -407,7 +408,7 @@ loadVendorDB(MyDb &amp;vendorDB, std::string &amp;vendorFile)
my_vendor.zipcode, my_vendor.phone_number,
my_vendor.sales_rep, my_vendor.sales_rep_phone);
- Dbt key(my_vendor.name, strlen(my_vendor.name) + 1);
+ Dbt key(my_vendor.name, (u_int32_t)strlen(my_vendor.name) + 1);
Dbt data(&amp;my_vendor, sizeof(VENDOR));
vendorDB.getDb().put(NULL, &amp;key, &amp;data, 0);
@@ -448,7 +449,7 @@ loadVendorDB(MyDb &amp;vendorDB, std::string &amp;vendorFile)
int
getNextPound(std::string &amp;theString, std::string &amp;substring)
{
- int pos = theString.find("#");
+ size_t pos = theString.find("#");
substring.assign(theString, 0, pos);
theString.assign(theString, pos + 1, theString.size());
return (pos);
@@ -460,7 +461,7 @@ loadInventoryDB(MyDb &amp;inventoryDB, std::string &amp;inventoryFile)
{
InventoryData inventoryData;
std::string substring;
- int nextPound;
+ size_t nextPound;
std::ifstream inFile(inventoryFile.c_str(), std::ios::in);
if (!inFile)
@@ -498,7 +499,7 @@ loadInventoryDB(MyDb &amp;inventoryDB, std::string &amp;inventoryFile)
inventoryData.setVendor(substring);
void *buff = (void *)inventoryData.getSKU().c_str();
- int size = inventoryData.getSKU().size()+1;
+ size_t size = inventoryData.getSKU().size()+1;
Dbt key(buff, size);
buff = inventoryData.getBuffer();
diff --git a/docs/gsg/CXX/DeleteEntryWCursor.html b/docs/gsg/CXX/DeleteEntryWCursor.html
index 3ee189bc..83a0eb94 100644
--- a/docs/gsg/CXX/DeleteEntryWCursor.html
+++ b/docs/gsg/CXX/DeleteEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/Positioning.html b/docs/gsg/CXX/Positioning.html
index a66a3bda..e32b99d2 100644
--- a/docs/gsg/CXX/Positioning.html
+++ b/docs/gsg/CXX/Positioning.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/PutEntryWCursor.html b/docs/gsg/CXX/PutEntryWCursor.html
index e8add67f..00e490c5 100644
--- a/docs/gsg/CXX/PutEntryWCursor.html
+++ b/docs/gsg/CXX/PutEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/ReplacingEntryWCursor.html b/docs/gsg/CXX/ReplacingEntryWCursor.html
index 08e93059..4ba9cab8 100644
--- a/docs/gsg/CXX/ReplacingEntryWCursor.html
+++ b/docs/gsg/CXX/ReplacingEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/accessmethods.html b/docs/gsg/CXX/accessmethods.html
index b25e48f3..74ad12b6 100644
--- a/docs/gsg/CXX/accessmethods.html
+++ b/docs/gsg/CXX/accessmethods.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/btree.html b/docs/gsg/CXX/btree.html
index df45215d..a87c9610 100644
--- a/docs/gsg/CXX/btree.html
+++ b/docs/gsg/CXX/btree.html
@@ -13,7 +13,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -416,7 +416,7 @@ try {
do not sort well when viewed as byte strings. There are
several solutions to this problem, one being to provide a
custom comparison function. See
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
for more information.
</p>
</li>
@@ -473,10 +473,13 @@ try {
occur.
</p>
<p>
- The value that you provide to the <code class="methodname">set_bt_compare()</code> method
- is a pointer to a function that has the following signature:
- </p>
- <pre class="programlisting">int (*function)(Db *db, const Dbt *key1, const Dbt *key2)</pre>
+ The value that you provide to the
+ <code class="methodname">set_bt_compare()</code> method
+ is a pointer to a function that has the following signature:
+ </p>
+ <pre class="programlisting">
+int (*function)(Db *db, const Dbt *key1, const Dbt *key2, size_t *locp)
+ </pre>
<p>
This function must return an integer value less than, equal to,
or greater than 0. If key1 is considered to be greater than
@@ -499,10 +502,11 @@ try {
</p>
<a id="cxx_btree1"></a>
<pre class="programlisting">int
-compare_int(Db *dbp, const Dbt *a, const Dbt *b)
+compare_int(Db *dbp, const Dbt *a, const Dbt *b, size_t *locp)
{
int ai, bi;
+ locp = NULL;
// Returns:
// &lt; 0 if a &lt; b
// = 0 if a = b
diff --git a/docs/gsg/CXX/cachesize.html b/docs/gsg/CXX/cachesize.html
index e60da97f..0c8c68cb 100644
--- a/docs/gsg/CXX/cachesize.html
+++ b/docs/gsg/CXX/cachesize.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/concepts.html b/docs/gsg/CXX/concepts.html
index 2bc25b47..31329b9a 100644
--- a/docs/gsg/CXX/concepts.html
+++ b/docs/gsg/CXX/concepts.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/coreExceptions.html b/docs/gsg/CXX/coreExceptions.html
index fa809b42..882bb14f 100644
--- a/docs/gsg/CXX/coreExceptions.html
+++ b/docs/gsg/CXX/coreExceptions.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/coredbclose.html b/docs/gsg/CXX/coredbclose.html
index c8c6bad7..5b4edd2d 100644
--- a/docs/gsg/CXX/coredbclose.html
+++ b/docs/gsg/CXX/coredbclose.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/coreindexusage.html b/docs/gsg/CXX/coreindexusage.html
index fcfd0cbc..25f6d381 100644
--- a/docs/gsg/CXX/coreindexusage.html
+++ b/docs/gsg/CXX/coreindexusage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -122,7 +122,7 @@
Remember that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -172,7 +172,7 @@ get_item_name(Db *dbp, const Dbt *pkey, const Dbt *pdata, Dbt *skey)
// Now set the secondary key's data to be the item name
skey-&gt;set_data(itemname);
- skey-&gt;set_size(strlen(itemname) + 1);
+ skey-&gt;set_size((u_int32_t)strlen(itemname) + 1);
return (0);
}; </pre>
@@ -314,11 +314,12 @@ main(int argc, char *argv[])
get_item_name,
0);</code></strong>
+ // Load the inventory database
+ loadInventoryDB(inventoryDB, inventoryFile);
+
// Load the vendor database
loadVendorDB(vendorDB, vendorFile);
- // Load the inventory database
- loadInventoryDB(inventoryDB, inventoryFile);
} catch(DbException &amp;e) {
std::cerr &lt;&lt; "Error loading databases. " &lt;&lt; std::endl;
std::cerr &lt;&lt; e.what() &lt;&lt; std::endl;
@@ -381,7 +382,7 @@ main(int argc, char *argv[])
and update our usage function slightly:
</p>
<a id="cxx_index14"></a>
- <pre class="programlisting">// File: example_database_read.cpp
+ <pre class="programlisting">// File: excxx_example_database_read.cpp
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;cstdlib&gt;
@@ -470,7 +471,7 @@ main (int argc, char *argv[])
application
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -492,7 +493,8 @@ show_item(MyDb &amp;itemnameSDB, MyDb &amp;vendorDB, std::string &amp;itemName)
// Get the search key. This is the name on the inventory
// record that we want to examine.
std::cout &lt;&lt; "Looking for " &lt;&lt; itemName &lt;&lt; std::endl;
- Dbt key((void *)itemName.c_str(), itemName.length() + 1);
+ Dbt key((void *)itemName.c_str(),
+ (u_int32_t)itemName.length() + 1);
Dbt data;
// Position the cursor to the first record in the secondary
diff --git a/docs/gsg/CXX/databaseLimits.html b/docs/gsg/CXX/databaseLimits.html
index f244f51c..380157eb 100644
--- a/docs/gsg/CXX/databaseLimits.html
+++ b/docs/gsg/CXX/databaseLimits.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -39,9 +39,12 @@
<p>
Berkeley DB provides support for managing everything from very small
databases that fit entirely in memory, to extremely large databases
- holding millions of records and terabytes of data. DB databases can
- store up to 256 terabytes of data. Individual record keys or record
- data can store up to 4 gigabytes of data.
+ holding millions of records and terabytes of data. An individual
+ DB database can store up to 256 terabytes of data. By using
+ multiple databases, it is possible to use DB to store and
+ manage petabytes of information. Within a single database,
+ individual record keys or record data can be used to store up to 4
+ gigabytes of data.
</p>
<p>
DB's databases store data in a binary format that is portable across
diff --git a/docs/gsg/CXX/databases.html b/docs/gsg/CXX/databases.html
index 2af54584..b31d25d9 100644
--- a/docs/gsg/CXX/databases.html
+++ b/docs/gsg/CXX/databases.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/dbErrorReporting.html b/docs/gsg/CXX/dbErrorReporting.html
index 963ad079..ab6f775d 100644
--- a/docs/gsg/CXX/dbErrorReporting.html
+++ b/docs/gsg/CXX/dbErrorReporting.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/dbconfig.html b/docs/gsg/CXX/dbconfig.html
index 98cbe10d..acb4a826 100644
--- a/docs/gsg/CXX/dbconfig.html
+++ b/docs/gsg/CXX/dbconfig.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -362,7 +362,7 @@
filesystem's block size causes DB to write pages in block
size increments. As a result, it is possible for a partial page
to be written as the result of a transactional commit. For more
- information, see <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
+ information, see <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
</p>
</div>
</div>
diff --git a/docs/gsg/CXX/environments.html b/docs/gsg/CXX/environments.html
index baca25c4..53fc278e 100644
--- a/docs/gsg/CXX/environments.html
+++ b/docs/gsg/CXX/environments.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/gettingit.html b/docs/gsg/CXX/gettingit.html
index b07eef30..91ee29c8 100644
--- a/docs/gsg/CXX/gettingit.html
+++ b/docs/gsg/CXX/gettingit.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -38,7 +38,7 @@
</div>
<p>
You can obtain DB by visiting the Berkeley DB download page:
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
<p>
To install DB, untar or unzip the distribution to the directory of
diff --git a/docs/gsg/CXX/index.html b/docs/gsg/CXX/index.html
index 1b600363..a870cf0c 100644
--- a/docs/gsg/CXX/index.html
+++ b/docs/gsg/CXX/index.html
@@ -12,7 +12,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -30,11 +30,11 @@
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a id="idp11264"></a>Getting Started with Berkeley DB</h1>
+ <h1 class="title"><a id="idp11232"></a>Getting Started with Berkeley DB</h1>
</div>
<div>
<div class="legalnotice">
- <a id="idp50445216"></a>
+ <a id="idp666704"></a>
<p class="legalnotice-title">
<b>Legal Notice</b>
</p>
@@ -64,7 +64,7 @@
<p>
To obtain a copy of this document's original source code, please
submit a request to the Oracle Technology Network forum at:
- <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>
+ <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>
</p>
@@ -72,7 +72,7 @@
</div>
</div>
<div>
- <p class="pubdate">5/11/2012</p>
+ <p class="pubdate">2/17/2015</p>
</div>
</div>
<hr />
diff --git a/docs/gsg/CXX/indexes.html b/docs/gsg/CXX/indexes.html
index 2906e851..d485b2fb 100644
--- a/docs/gsg/CXX/indexes.html
+++ b/docs/gsg/CXX/indexes.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/introduction.html b/docs/gsg/CXX/introduction.html
index f250b88c..46779ee5 100644
--- a/docs/gsg/CXX/introduction.html
+++ b/docs/gsg/CXX/introduction.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -209,7 +209,7 @@
In addition to being presented in this book, these final programs are also
available in the DB software distribution. You can find them in
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the
location where you placed your DB distribution.
diff --git a/docs/gsg/CXX/joins.html b/docs/gsg/CXX/joins.html
index 275edbc8..ea1778b4 100644
--- a/docs/gsg/CXX/joins.html
+++ b/docs/gsg/CXX/joins.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/keyCreator.html b/docs/gsg/CXX/keyCreator.html
index 9b77f9e5..52484813 100644
--- a/docs/gsg/CXX/keyCreator.html
+++ b/docs/gsg/CXX/keyCreator.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/moreinfo.html b/docs/gsg/CXX/moreinfo.html
index c49706be..a428e3b6 100644
--- a/docs/gsg/CXX/moreinfo.html
+++ b/docs/gsg/CXX/moreinfo.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -56,7 +56,7 @@
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_txn/CXX/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_txn/CXX/index.html" target="_top">
Getting Started with Transaction Processing for C++
</a>
@@ -67,7 +67,7 @@
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_db_rep/CXX/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_db_rep/CXX/index.html" target="_top">
Berkeley DB Getting Started with Replicated Applications for C++
</a>
@@ -75,21 +75,21 @@
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/index.html" target="_top">
Berkeley DB Programmer's Reference Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/installation/index.html" target="_top">
Berkeley DB Installation and Build Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/bdb-sql/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/bdb-sql/index.html" target="_top">
Berkeley DB Getting Started with the SQL APIs
</a>
</p>
@@ -98,7 +98,7 @@
<p>
<span>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/CXX/frame_main.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/api_reference/CXX/frame_main.html" target="_top">
Berkeley DB C++ API Reference Guide
</a>
</span>
@@ -128,7 +128,7 @@
downloads, visit
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
</span>
<div class="sect2" lang="en" xml:lang="en">
@@ -143,8 +143,8 @@
You can post your comments and questions at the Oracle
Technology (OTN) forum for
<span>
- Oracle Berkeley DB at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
- or for Oracle Berkeley DB High Availability at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
+ Oracle Berkeley DB at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
+ or for Oracle Berkeley DB High Availability at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
</span>
diff --git a/docs/gsg/CXX/preface.html b/docs/gsg/CXX/preface.html
index 023c785d..36ecef3e 100644
--- a/docs/gsg/CXX/preface.html
+++ b/docs/gsg/CXX/preface.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -67,7 +67,7 @@
<span>
- This document introduces Berkeley DB 11<span class="emphasis"><em>g</em></span> Release 2, which provides DB library version 11.2.5.3.
+ This document introduces Berkeley DB 12<span class="emphasis"><em>c</em></span> Release 1, which provides DB library version 12.1.6.1.
</span>
</p>
<p>
diff --git a/docs/gsg/CXX/readSecondary.html b/docs/gsg/CXX/readSecondary.html
index 7c2b4c7a..defcb8d1 100644
--- a/docs/gsg/CXX/readSecondary.html
+++ b/docs/gsg/CXX/readSecondary.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/returns.html b/docs/gsg/CXX/returns.html
index 4306f558..bf53647a 100644
--- a/docs/gsg/CXX/returns.html
+++ b/docs/gsg/CXX/returns.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/secondaryCursor.html b/docs/gsg/CXX/secondaryCursor.html
index 8c6f390d..1db486f0 100644
--- a/docs/gsg/CXX/secondaryCursor.html
+++ b/docs/gsg/CXX/secondaryCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/secondaryDelete.html b/docs/gsg/CXX/secondaryDelete.html
index ab958de2..9cd727e5 100644
--- a/docs/gsg/CXX/secondaryDelete.html
+++ b/docs/gsg/CXX/secondaryDelete.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -59,16 +59,11 @@
<code class="methodname">Db::del()</code>
- method to delete a secondary database record.
-
-
-
- <span>Note that if your
+ method to delete a secondary database record. Note that if your
<span>secondary database</span>
contains duplicate records, then deleting a record from the set of
duplicates causes all of the duplicates to be deleted as well.
- </span>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
diff --git a/docs/gsg/CXX/usingDbt.html b/docs/gsg/CXX/usingDbt.html
index 1fb17ed6..325e3549 100644
--- a/docs/gsg/CXX/usingDbt.html
+++ b/docs/gsg/CXX/usingDbt.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/BerkeleyDB-Core-JAVA-GSG.pdf b/docs/gsg/JAVA/BerkeleyDB-Core-JAVA-GSG.pdf
index c379a937..5482a512 100644
--- a/docs/gsg/JAVA/BerkeleyDB-Core-JAVA-GSG.pdf
+++ b/docs/gsg/JAVA/BerkeleyDB-Core-JAVA-GSG.pdf
Binary files differ
diff --git a/docs/gsg/JAVA/CoreEnvUsage.html b/docs/gsg/JAVA/CoreEnvUsage.html
index 0f87d622..1da3e46c 100644
--- a/docs/gsg/JAVA/CoreEnvUsage.html
+++ b/docs/gsg/JAVA/CoreEnvUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/CoreJavaUsage.html b/docs/gsg/JAVA/CoreJavaUsage.html
index 4e74af7f..2452f32a 100644
--- a/docs/gsg/JAVA/CoreJavaUsage.html
+++ b/docs/gsg/JAVA/CoreJavaUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -51,7 +51,7 @@
Note that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/JAVA/Cursors.html b/docs/gsg/JAVA/Cursors.html
index eaec0eca..cae4d982 100644
--- a/docs/gsg/JAVA/Cursors.html
+++ b/docs/gsg/JAVA/Cursors.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/DBAdmin.html b/docs/gsg/JAVA/DBAdmin.html
index 1a669340..07ca6e2c 100644
--- a/docs/gsg/JAVA/DBAdmin.html
+++ b/docs/gsg/JAVA/DBAdmin.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/DBEntry.html b/docs/gsg/JAVA/DBEntry.html
index 8d28b169..c042b0b2 100644
--- a/docs/gsg/JAVA/DBEntry.html
+++ b/docs/gsg/JAVA/DBEntry.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/DeleteEntryWCursor.html b/docs/gsg/JAVA/DeleteEntryWCursor.html
index 64ea8f95..9f031037 100644
--- a/docs/gsg/JAVA/DeleteEntryWCursor.html
+++ b/docs/gsg/JAVA/DeleteEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/Env.html b/docs/gsg/JAVA/Env.html
index 60334b24..8d8a488d 100644
--- a/docs/gsg/JAVA/Env.html
+++ b/docs/gsg/JAVA/Env.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/EnvClose.html b/docs/gsg/JAVA/EnvClose.html
index 2fded8af..56ade332 100644
--- a/docs/gsg/JAVA/EnvClose.html
+++ b/docs/gsg/JAVA/EnvClose.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/EnvProps.html b/docs/gsg/JAVA/EnvProps.html
index f7b4ddb8..e3074c5c 100644
--- a/docs/gsg/JAVA/EnvProps.html
+++ b/docs/gsg/JAVA/EnvProps.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/Positioning.html b/docs/gsg/JAVA/Positioning.html
index c2fc19fe..1139e78b 100644
--- a/docs/gsg/JAVA/Positioning.html
+++ b/docs/gsg/JAVA/Positioning.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/PutEntryWCursor.html b/docs/gsg/JAVA/PutEntryWCursor.html
index b6565f80..71e4b56a 100644
--- a/docs/gsg/JAVA/PutEntryWCursor.html
+++ b/docs/gsg/JAVA/PutEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/ReplacingEntryWCursor.html b/docs/gsg/JAVA/ReplacingEntryWCursor.html
index 61a64b9f..b67b4fde 100644
--- a/docs/gsg/JAVA/ReplacingEntryWCursor.html
+++ b/docs/gsg/JAVA/ReplacingEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/accessmethods.html b/docs/gsg/JAVA/accessmethods.html
index a4ee91fc..36791588 100644
--- a/docs/gsg/JAVA/accessmethods.html
+++ b/docs/gsg/JAVA/accessmethods.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/baseapi.html b/docs/gsg/JAVA/baseapi.html
index 7d4e135f..59598283 100644
--- a/docs/gsg/JAVA/baseapi.html
+++ b/docs/gsg/JAVA/baseapi.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/bindAPI.html b/docs/gsg/JAVA/bindAPI.html
index 1fc38fb7..f622af8a 100644
--- a/docs/gsg/JAVA/bindAPI.html
+++ b/docs/gsg/JAVA/bindAPI.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/btree.html b/docs/gsg/JAVA/btree.html
index b6d99d43..1639bdc2 100644
--- a/docs/gsg/JAVA/btree.html
+++ b/docs/gsg/JAVA/btree.html
@@ -13,7 +13,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -395,7 +395,7 @@ try {
do not sort well when viewed as byte strings. There are
several solutions to this problem, one being to provide a
custom comparison function. See
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
for more information.
</p>
</li>
@@ -455,7 +455,7 @@ try {
<code class="classname">Comparator</code> class to the database.
The Java <code class="classname">Comparator</code> interface requires you to implement the
<code class="methodname">Comparator.compare()</code> method
- (see <a class="ulink" href="http://download.oracle.com/javase/1.4.2/docs/api/java/util/Comparator.html" target="_top">http://download.oracle.com/javase/1.4.2/docs/api/java/util/Comparator.html</a> for details).
+ (see <a class="ulink" href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html" target="_top">http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html</a> for details).
</p>
<p>
DB hands your <code class="methodname">Comparator.compare()</code> method
diff --git a/docs/gsg/JAVA/cachesize.html b/docs/gsg/JAVA/cachesize.html
index f99d43de..fecd91f2 100644
--- a/docs/gsg/JAVA/cachesize.html
+++ b/docs/gsg/JAVA/cachesize.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/coreExceptions.html b/docs/gsg/JAVA/coreExceptions.html
index 87489197..4fe2e0ca 100644
--- a/docs/gsg/JAVA/coreExceptions.html
+++ b/docs/gsg/JAVA/coreExceptions.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/coredbclose.html b/docs/gsg/JAVA/coredbclose.html
index dde7175a..d568ff03 100644
--- a/docs/gsg/JAVA/coredbclose.html
+++ b/docs/gsg/JAVA/coredbclose.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/cursorJavaUsage.html b/docs/gsg/JAVA/cursorJavaUsage.html
index c135f675..ac85916f 100644
--- a/docs/gsg/JAVA/cursorJavaUsage.html
+++ b/docs/gsg/JAVA/cursorJavaUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -82,7 +82,7 @@
<p>The full implementation of <code class="classname">ExampleDatabaseRead</code>
can be found in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -255,7 +255,7 @@ import com.sleepycat.db.OperationStatus;</pre>
document, this is relatively uninteresting. You can see how this is
implemented by looking at:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/JAVA/dataaccessorclass.html b/docs/gsg/JAVA/dataaccessorclass.html
index d6d87b7d..b8dd5b46 100644
--- a/docs/gsg/JAVA/dataaccessorclass.html
+++ b/docs/gsg/JAVA/dataaccessorclass.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/databaseLimits.html b/docs/gsg/JAVA/databaseLimits.html
index 35d0c892..926834c4 100644
--- a/docs/gsg/JAVA/databaseLimits.html
+++ b/docs/gsg/JAVA/databaseLimits.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -39,9 +39,12 @@
<p>
Berkeley DB provides support for managing everything from very small
databases that fit entirely in memory, to extremely large databases
- holding millions of records and terabytes of data. DB databases can
- store up to 256 terabytes of data. Individual record keys or record
- data can store up to 4 gigabytes of data.
+ holding millions of records and terabytes of data. An individual
+ DB database can store up to 256 terabytes of data. By using
+ multiple databases, it is possible to use DB to store and
+ manage petabytes of information. Within a single database,
+ individual record keys or record data can be used to store up to 4
+ gigabytes of data.
</p>
<p>
DB's databases store data in a binary format that is portable across
diff --git a/docs/gsg/JAVA/databases.html b/docs/gsg/JAVA/databases.html
index 29000866..0b5a9b5a 100644
--- a/docs/gsg/JAVA/databases.html
+++ b/docs/gsg/JAVA/databases.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dbErrorReporting.html b/docs/gsg/JAVA/dbErrorReporting.html
index e8c821b1..09ea2f4f 100644
--- a/docs/gsg/JAVA/dbErrorReporting.html
+++ b/docs/gsg/JAVA/dbErrorReporting.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dbconfig.html b/docs/gsg/JAVA/dbconfig.html
index 87231720..b5ca8630 100644
--- a/docs/gsg/JAVA/dbconfig.html
+++ b/docs/gsg/JAVA/dbconfig.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -360,7 +360,7 @@
filesystem's block size causes DB to write pages in block
size increments. As a result, it is possible for a partial page
to be written as the result of a transactional commit. For more
- information, see <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
+ information, see <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
</p>
</div>
</div>
diff --git a/docs/gsg/JAVA/dbprops.html b/docs/gsg/JAVA/dbprops.html
index 7743fcdb..1d48b1c0 100644
--- a/docs/gsg/JAVA/dbprops.html
+++ b/docs/gsg/JAVA/dbprops.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dbtJavaUsage.html b/docs/gsg/JAVA/dbtJavaUsage.html
index 37858875..728e1863 100644
--- a/docs/gsg/JAVA/dbtJavaUsage.html
+++ b/docs/gsg/JAVA/dbtJavaUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -46,7 +46,7 @@
Again, remember that you can find the complete implementation for these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -533,7 +533,7 @@ import com.sleepycat.db.DatabaseException; </pre>
<a id="java_dbt26"></a>
<pre class="programlisting"> private static void usage() {
System.out.println("ExampleDatabaseLoad [-h &lt;database home&gt;]");
- System.out.println(" [-s &lt;selections file&gt;]");
+ System.out.println(" [-i &lt;inventory file&gt;]");
System.out.println(" [-v &lt;vendors file&gt;]");
System.exit(-1);
}
@@ -689,7 +689,7 @@ import com.sleepycat.db.DatabaseException; </pre>
implemented by looking at <code class="filename">ExampleDatabaseLoad.java</code>
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/JAVA/dpl.html b/docs/gsg/JAVA/dpl.html
index c5172116..2e4441c6 100644
--- a/docs/gsg/JAVA/dpl.html
+++ b/docs/gsg/JAVA/dpl.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dpl_delete.html b/docs/gsg/JAVA/dpl_delete.html
index d37c43b7..c498e470 100644
--- a/docs/gsg/JAVA/dpl_delete.html
+++ b/docs/gsg/JAVA/dpl_delete.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dpl_entityjoin.html b/docs/gsg/JAVA/dpl_entityjoin.html
index efcb4789..2f9817a8 100644
--- a/docs/gsg/JAVA/dpl_entityjoin.html
+++ b/docs/gsg/JAVA/dpl_entityjoin.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dpl_example.html b/docs/gsg/JAVA/dpl_example.html
index 45936bc4..ad066d74 100644
--- a/docs/gsg/JAVA/dpl_example.html
+++ b/docs/gsg/JAVA/dpl_example.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dpl_exampledatabaseput.html b/docs/gsg/JAVA/dpl_exampledatabaseput.html
index 5b6c0470..c4a3efc4 100644
--- a/docs/gsg/JAVA/dpl_exampledatabaseput.html
+++ b/docs/gsg/JAVA/dpl_exampledatabaseput.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dpl_exampleinventoryread.html b/docs/gsg/JAVA/dpl_exampleinventoryread.html
index bccbce47..4ef2dd52 100644
--- a/docs/gsg/JAVA/dpl_exampleinventoryread.html
+++ b/docs/gsg/JAVA/dpl_exampleinventoryread.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dpl_replace.html b/docs/gsg/JAVA/dpl_replace.html
index 22ed49d6..8696aab2 100644
--- a/docs/gsg/JAVA/dpl_replace.html
+++ b/docs/gsg/JAVA/dpl_replace.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/dplindexcreate.html b/docs/gsg/JAVA/dplindexcreate.html
index 369df4dd..a37df2ea 100644
--- a/docs/gsg/JAVA/dplindexcreate.html
+++ b/docs/gsg/JAVA/dplindexcreate.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/getmultiple.html b/docs/gsg/JAVA/getmultiple.html
index b44acea2..9a88490f 100644
--- a/docs/gsg/JAVA/getmultiple.html
+++ b/docs/gsg/JAVA/getmultiple.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/gettingit.html b/docs/gsg/JAVA/gettingit.html
index 4773d6da..ecd16870 100644
--- a/docs/gsg/JAVA/gettingit.html
+++ b/docs/gsg/JAVA/gettingit.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -38,7 +38,7 @@
</div>
<p>
You can obtain DB by visiting the Berkeley DB download page:
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
<p>
To install DB, untar or unzip the distribution to the directory of
diff --git a/docs/gsg/JAVA/index.html b/docs/gsg/JAVA/index.html
index 1af370f4..bd0f00b6 100644
--- a/docs/gsg/JAVA/index.html
+++ b/docs/gsg/JAVA/index.html
@@ -12,7 +12,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -26,7 +26,7 @@
</table>
<hr />
</div>
- <div class="book" lang="en" xml:lang="en"><div class="titlepage"><div><div><h1 class="title"><a id="idm1146032"></a>Getting Started with Berkeley DB</h1></div><div><div class="legalnotice"><a id="idp50375432"></a><p class="legalnotice-title"><b>Legal Notice</b></p><span>
+ <div class="book" lang="en" xml:lang="en"><div class="titlepage"><div><div><h1 class="title"><a id="idm648896"></a>Getting Started with Berkeley DB</h1></div><div><div class="legalnotice"><a id="idm672408"></a><p class="legalnotice-title"><b>Legal Notice</b></p><span>
<p>
This documentation is distributed under an open source license.
You may review the terms of this license at:
@@ -56,11 +56,11 @@
<p>
To obtain a copy of this document's original source code, please
submit a request to the Oracle Technology Network forum at:
- <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>
+ <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>
</p>
- </span></div></div><div><p class="pubdate">5/11/2012</p></div></div><hr /></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="preface"><a href="preface.html">Preface</a></span></dt><dd><dl><dt><span class="sect1"><a href="preface.html#conventions">Conventions Used in this Book</a></span></dt><dt><span class="sect1"><a href="moreinfo.html">For More Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="moreinfo.html#contact_us">Contact Us</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="introduction.html">1. Introduction to Berkeley DB </a></span></dt><dd><dl><dt><span class="sect1"><a href="introduction.html#aboutthismanual">About This Manual</a></span></dt><dt><span class="sect1"><a href="javadplconcepts.html">Berkeley DB Concepts</a></span></dt><dd><dl><dt><span class="sect2"><a href="javadplconcepts.html#dplenvconcepts">Environments</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#key-data">Key-Data Pairs</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#storing-intro">Storing Data</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#duplicatesintro">Duplicate Data</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#replacedeleteIntro">Replacing and Deleting Entries</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#secondary">Secondary Keys</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#whichapi">Which API Should You Use?</a></span></dt></dl></dd><dt><span class="sect1"><a href="accessmethods.html">Access Methods</a></span></dt><dd><dl><dt><span class="sect2"><a href="accessmethods.html#selectAM">Selecting Access Methods</a></span></dt><dt><span class="sect2"><a href="accessmethods.html#BTreeVSHash">Choosing between BTree and Hash</a></span></dt><dt><span class="sect2"><a href="accessmethods.html#QueueVSRecno">Choosing between Queue and Recno</a></span></dt></dl></dd><dt><span class="sect1"><a href="databaseLimits.html">Database Limits and Portability</a></span></dt><dt><span class="sect1"><a href="coreExceptions.html">Exception Handling</a></span></dt><dt><span class="sect1"><a href="returns.html">Error Returns</a></span></dt><dt><span class="sect1"><a href="gettingit.html">Getting and Using DB </a></span></dt></dl></dd><dt><span class="chapter"><a href="Env.html">2. Database Environments</a></span></dt><dd><dl><dt><span class="sect1"><a href="Env.html#EnvOpen">Opening Database Environments</a></span></dt><dt><span class="sect1"><a href="EnvClose.html">Closing Database Environments</a></span></dt><dt><span class="sect1"><a href="EnvProps.html">Environment Properties</a></span></dt><dd><dl><dt><span class="sect2"><a href="EnvProps.html#envconfig">The EnvironmentConfig Class</a></span></dt><dt><span class="sect2"><a href="EnvProps.html#envhandleconfig">EnvironmentMutableConfig</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="dpl.html">I. Programming with the Direct Persistence Layer</a></span></dt><dd><dl><dt><span class="chapter"><a href="persist_first.html">3. Direct Persistence Layer First Steps</a></span></dt><dd><dl><dt><span class="sect1"><a href="persist_first.html#entitystore">Entity Stores</a></span></dt><dd><dl><dt><span class="sect2"><a href="persist_first.html#persist-open">Opening and Closing Environments and Stores</a></span></dt></dl></dd><dt><span class="sect1"><a href="persistobject.html">Persistent Objects</a></span></dt><dt><span class="sect1"><a href="saveret.html">Saving and Retrieving Data</a></span></dt></dl></dd><dt><span class="chapter"><a href="persist_index.html">4. Working with Indices</a></span></dt><dd><dl><dt><span class="sect1"><a href="persist_index.html#dplindexaccess">Accessing Indexes</a></span></dt><dd><dl><dt><span class="sect2"><a href="persist_index.html#primaryindexaccess">Accessing Primary Indices</a></span></dt><dt><span class="sect2"><a href="persist_index.html#secondaryindexaccess">Accessing Secondary Indices</a></span></dt></dl></dd><dt><span class="sect1"><a href="dplindexcreate.html">Creating Indexes</a></span></dt><dd><dl><dt><span class="sect2"><a href="dplindexcreate.html#dplprimaryidxdecl">Declaring a Primary Indexes</a></span></dt><dt><span class="sect2"><a href="dplindexcreate.html#dplsecondaryidxdecl">Declaring Secondary Indexes</a></span></dt><dt><span class="sect2"><a href="dplindexcreate.html#foreignkey">Foreign Key Constraints</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="persist_access.html">5. Saving and Retrieving Objects</a></span></dt><dd><dl><dt><span class="sect1"><a href="persist_access.html#simpleentity">A Simple Entity Class</a></span></dt><dt><span class="sect1"><a href="simpleda.html">SimpleDA.class</a></span></dt><dt><span class="sect1"><a href="simpleput.html">Placing Objects in an Entity Store</a></span></dt><dt><span class="sect1"><a href="simpleget.html">Retrieving Objects from an Entity Store</a></span></dt><dt><span class="sect1"><a href="getmultiple.html">Retrieving Multiple Objects</a></span></dt><dd><dl><dt><span class="sect2"><a href="getmultiple.html#dpl_cursor_initialize">Cursor Initialization</a></span></dt><dt><span class="sect2"><a href="getmultiple.html#dpl_dups">Working with Duplicate Keys</a></span></dt><dt><span class="sect2"><a href="getmultiple.html#dpl_cursor_range">Key Ranges</a></span></dt></dl></dd><dt><span class="sect1"><a href="dpl_entityjoin.html">Join Cursors</a></span></dt><dt><span class="sect1"><a href="dpl_delete.html">Deleting Entity Objects</a></span></dt><dt><span class="sect1"><a href="dpl_replace.html">Replacing Entity Objects</a></span></dt></dl></dd><dt><span class="chapter"><a href="dpl_example.html">6. A DPL Example</a></span></dt><dd><dl><dt><span class="sect1"><a href="dpl_example.html#vendorclass">Vendor.java</a></span></dt><dt><span class="sect1"><a href="inventoryclass.html">Inventory.java</a></span></dt><dt><span class="sect1"><a href="mydbenv-persist.html">MyDbEnv</a></span></dt><dt><span class="sect1"><a href="dataaccessorclass.html">DataAccessor.java</a></span></dt><dt><span class="sect1"><a href="dpl_exampledatabaseput.html">ExampleDatabasePut.java</a></span></dt><dt><span class="sect1"><a href="dpl_exampleinventoryread.html">ExampleInventoryRead.java</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="baseapi.html">II. Programming with the Base API</a></span></dt><dd><dl><dt><span class="chapter"><a href="databases.html">7. Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="databases.html#DBOpen">Opening Databases</a></span></dt><dt><span class="sect1"><a href="coredbclose.html">Closing Databases</a></span></dt><dt><span class="sect1"><a href="dbprops.html">Database Properties</a></span></dt><dt><span class="sect1"><a href="DBAdmin.html">Administrative Methods</a></span></dt><dt><span class="sect1"><a href="dbErrorReporting.html">Error Reporting Functions</a></span></dt><dt><span class="sect1"><a href="CoreEnvUsage.html">Managing Databases in Environments</a></span></dt><dt><span class="sect1"><a href="CoreJavaUsage.html">Database Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="DBEntry.html">8. Database Records</a></span></dt><dd><dl><dt><span class="sect1"><a href="DBEntry.html#usingDbEntry">Using Database Records</a></span></dt><dt><span class="sect1"><a href="usingDbt.html">Reading and Writing Database Records</a></span></dt><dd><dl><dt><span class="sect2"><a href="usingDbt.html#databaseWrite">Writing Records to the Database</a></span></dt><dt><span class="sect2"><a href="usingDbt.html#databaseRead">Getting Records from the Database</a></span></dt><dt><span class="sect2"><a href="usingDbt.html#recordDelete">Deleting Records</a></span></dt><dt><span class="sect2"><a href="usingDbt.html#datapersist">Data Persistence</a></span></dt></dl></dd><dt><span class="sect1"><a href="bindAPI.html">Using the BIND APIs</a></span></dt><dd><dl><dt><span class="sect2"><a href="bindAPI.html#bindPrimitive">Numerical and String Objects</a></span></dt><dt><span class="sect2"><a href="bindAPI.html#object2dbt">Serializable Complex Objects</a></span></dt><dt><span class="sect2"><a href="bindAPI.html#customTuple">Custom Tuple Bindings</a></span></dt></dl></dd><dt><span class="sect1"><a href="dbtJavaUsage.html">Database Usage Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="Cursors.html">9. Using Cursors</a></span></dt><dd><dl><dt><span class="sect1"><a href="Cursors.html#openCursor">Opening and Closing Cursors</a></span></dt><dt><span class="sect1"><a href="Positioning.html">Getting Records Using the Cursor</a></span></dt><dd><dl><dt><span class="sect2"><a href="Positioning.html#cursorsearch">Searching for Records</a></span></dt><dt><span class="sect2"><a href="Positioning.html#getdups">Working with Duplicate Records</a></span></dt></dl></dd><dt><span class="sect1"><a href="PutEntryWCursor.html">Putting Records Using Cursors</a></span></dt><dt><span class="sect1"><a href="DeleteEntryWCursor.html">Deleting Records Using Cursors</a></span></dt><dt><span class="sect1"><a href="ReplacingEntryWCursor.html">Replacing Records Using Cursors</a></span></dt><dt><span class="sect1"><a href="cursorJavaUsage.html">Cursor Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="indexes.html">10. Secondary Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="indexes.html#DbAssociate">Opening and Closing Secondary Databases</a></span></dt><dt><span class="sect1"><a href="keyCreator.html">Implementing Key
+ </span></div></div><div><p class="pubdate">2/17/2015</p></div></div><hr /></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="preface"><a href="preface.html">Preface</a></span></dt><dd><dl><dt><span class="sect1"><a href="preface.html#conventions">Conventions Used in this Book</a></span></dt><dt><span class="sect1"><a href="moreinfo.html">For More Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="moreinfo.html#contact_us">Contact Us</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="introduction.html">1. Introduction to Berkeley DB </a></span></dt><dd><dl><dt><span class="sect1"><a href="introduction.html#aboutthismanual">About This Manual</a></span></dt><dt><span class="sect1"><a href="javadplconcepts.html">Berkeley DB Concepts</a></span></dt><dd><dl><dt><span class="sect2"><a href="javadplconcepts.html#dplenvconcepts">Environments</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#key-data">Key-Data Pairs</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#storing-intro">Storing Data</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#duplicatesintro">Duplicate Data</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#replacedeleteIntro">Replacing and Deleting Entries</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#secondary">Secondary Keys</a></span></dt><dt><span class="sect2"><a href="javadplconcepts.html#whichapi">Which API Should You Use?</a></span></dt></dl></dd><dt><span class="sect1"><a href="accessmethods.html">Access Methods</a></span></dt><dd><dl><dt><span class="sect2"><a href="accessmethods.html#selectAM">Selecting Access Methods</a></span></dt><dt><span class="sect2"><a href="accessmethods.html#BTreeVSHash">Choosing between BTree and Hash</a></span></dt><dt><span class="sect2"><a href="accessmethods.html#QueueVSRecno">Choosing between Queue and Recno</a></span></dt></dl></dd><dt><span class="sect1"><a href="databaseLimits.html">Database Limits and Portability</a></span></dt><dt><span class="sect1"><a href="coreExceptions.html">Exception Handling</a></span></dt><dt><span class="sect1"><a href="returns.html">Error Returns</a></span></dt><dt><span class="sect1"><a href="gettingit.html">Getting and Using DB </a></span></dt></dl></dd><dt><span class="chapter"><a href="Env.html">2. Database Environments</a></span></dt><dd><dl><dt><span class="sect1"><a href="Env.html#EnvOpen">Opening Database Environments</a></span></dt><dt><span class="sect1"><a href="EnvClose.html">Closing Database Environments</a></span></dt><dt><span class="sect1"><a href="EnvProps.html">Environment Properties</a></span></dt><dd><dl><dt><span class="sect2"><a href="EnvProps.html#envconfig">The EnvironmentConfig Class</a></span></dt><dt><span class="sect2"><a href="EnvProps.html#envhandleconfig">EnvironmentMutableConfig</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="dpl.html">I. Programming with the Direct Persistence Layer</a></span></dt><dd><dl><dt><span class="chapter"><a href="persist_first.html">3. Direct Persistence Layer First Steps</a></span></dt><dd><dl><dt><span class="sect1"><a href="persist_first.html#entitystore">Entity Stores</a></span></dt><dd><dl><dt><span class="sect2"><a href="persist_first.html#persist-open">Opening and Closing Environments and Stores</a></span></dt></dl></dd><dt><span class="sect1"><a href="persistobject.html">Persistent Objects</a></span></dt><dt><span class="sect1"><a href="saveret.html">Saving and Retrieving Data</a></span></dt></dl></dd><dt><span class="chapter"><a href="persist_index.html">4. Working with Indices</a></span></dt><dd><dl><dt><span class="sect1"><a href="persist_index.html#dplindexaccess">Accessing Indexes</a></span></dt><dd><dl><dt><span class="sect2"><a href="persist_index.html#primaryindexaccess">Accessing Primary Indices</a></span></dt><dt><span class="sect2"><a href="persist_index.html#secondaryindexaccess">Accessing Secondary Indices</a></span></dt></dl></dd><dt><span class="sect1"><a href="dplindexcreate.html">Creating Indexes</a></span></dt><dd><dl><dt><span class="sect2"><a href="dplindexcreate.html#dplprimaryidxdecl">Declaring a Primary Indexes</a></span></dt><dt><span class="sect2"><a href="dplindexcreate.html#dplsecondaryidxdecl">Declaring Secondary Indexes</a></span></dt><dt><span class="sect2"><a href="dplindexcreate.html#foreignkey">Foreign Key Constraints</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="persist_access.html">5. Saving and Retrieving Objects</a></span></dt><dd><dl><dt><span class="sect1"><a href="persist_access.html#simpleentity">A Simple Entity Class</a></span></dt><dt><span class="sect1"><a href="simpleda.html">SimpleDA.class</a></span></dt><dt><span class="sect1"><a href="simpleput.html">Placing Objects in an Entity Store</a></span></dt><dt><span class="sect1"><a href="simpleget.html">Retrieving Objects from an Entity Store</a></span></dt><dt><span class="sect1"><a href="getmultiple.html">Retrieving Multiple Objects</a></span></dt><dd><dl><dt><span class="sect2"><a href="getmultiple.html#dpl_cursor_initialize">Cursor Initialization</a></span></dt><dt><span class="sect2"><a href="getmultiple.html#dpl_dups">Working with Duplicate Keys</a></span></dt><dt><span class="sect2"><a href="getmultiple.html#dpl_cursor_range">Key Ranges</a></span></dt></dl></dd><dt><span class="sect1"><a href="dpl_entityjoin.html">Join Cursors</a></span></dt><dt><span class="sect1"><a href="dpl_delete.html">Deleting Entity Objects</a></span></dt><dt><span class="sect1"><a href="dpl_replace.html">Replacing Entity Objects</a></span></dt></dl></dd><dt><span class="chapter"><a href="dpl_example.html">6. A DPL Example</a></span></dt><dd><dl><dt><span class="sect1"><a href="dpl_example.html#vendorclass">Vendor.java</a></span></dt><dt><span class="sect1"><a href="inventoryclass.html">Inventory.java</a></span></dt><dt><span class="sect1"><a href="mydbenv-persist.html">MyDbEnv</a></span></dt><dt><span class="sect1"><a href="dataaccessorclass.html">DataAccessor.java</a></span></dt><dt><span class="sect1"><a href="dpl_exampledatabaseput.html">ExampleDatabasePut.java</a></span></dt><dt><span class="sect1"><a href="dpl_exampleinventoryread.html">ExampleInventoryRead.java</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="baseapi.html">II. Programming with the Base API</a></span></dt><dd><dl><dt><span class="chapter"><a href="databases.html">7. Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="databases.html#DBOpen">Opening Databases</a></span></dt><dt><span class="sect1"><a href="coredbclose.html">Closing Databases</a></span></dt><dt><span class="sect1"><a href="dbprops.html">Database Properties</a></span></dt><dt><span class="sect1"><a href="DBAdmin.html">Administrative Methods</a></span></dt><dt><span class="sect1"><a href="dbErrorReporting.html">Error Reporting Functions</a></span></dt><dt><span class="sect1"><a href="CoreEnvUsage.html">Managing Databases in Environments</a></span></dt><dt><span class="sect1"><a href="CoreJavaUsage.html">Database Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="DBEntry.html">8. Database Records</a></span></dt><dd><dl><dt><span class="sect1"><a href="DBEntry.html#usingDbEntry">Using Database Records</a></span></dt><dt><span class="sect1"><a href="usingDbt.html">Reading and Writing Database Records</a></span></dt><dd><dl><dt><span class="sect2"><a href="usingDbt.html#databaseWrite">Writing Records to the Database</a></span></dt><dt><span class="sect2"><a href="usingDbt.html#databaseRead">Getting Records from the Database</a></span></dt><dt><span class="sect2"><a href="usingDbt.html#recordDelete">Deleting Records</a></span></dt><dt><span class="sect2"><a href="usingDbt.html#datapersist">Data Persistence</a></span></dt></dl></dd><dt><span class="sect1"><a href="bindAPI.html">Using the BIND APIs</a></span></dt><dd><dl><dt><span class="sect2"><a href="bindAPI.html#bindPrimitive">Numerical and String Objects</a></span></dt><dt><span class="sect2"><a href="bindAPI.html#object2dbt">Serializable Complex Objects</a></span></dt><dt><span class="sect2"><a href="bindAPI.html#customTuple">Custom Tuple Bindings</a></span></dt></dl></dd><dt><span class="sect1"><a href="dbtJavaUsage.html">Database Usage Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="Cursors.html">9. Using Cursors</a></span></dt><dd><dl><dt><span class="sect1"><a href="Cursors.html#openCursor">Opening and Closing Cursors</a></span></dt><dt><span class="sect1"><a href="Positioning.html">Getting Records Using the Cursor</a></span></dt><dd><dl><dt><span class="sect2"><a href="Positioning.html#cursorsearch">Searching for Records</a></span></dt><dt><span class="sect2"><a href="Positioning.html#getdups">Working with Duplicate Records</a></span></dt></dl></dd><dt><span class="sect1"><a href="PutEntryWCursor.html">Putting Records Using Cursors</a></span></dt><dt><span class="sect1"><a href="DeleteEntryWCursor.html">Deleting Records Using Cursors</a></span></dt><dt><span class="sect1"><a href="ReplacingEntryWCursor.html">Replacing Records Using Cursors</a></span></dt><dt><span class="sect1"><a href="cursorJavaUsage.html">Cursor Example</a></span></dt></dl></dd><dt><span class="chapter"><a href="indexes.html">10. Secondary Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="indexes.html#DbAssociate">Opening and Closing Secondary Databases</a></span></dt><dt><span class="sect1"><a href="keyCreator.html">Implementing Key
<span>Creators</span>
</a></span></dt><dd><dl><dt><span class="sect2"><a href="keyCreator.html#multikeys">Working with Multiple Keys</a></span></dt></dl></dd><dt><span class="sect1"><a href="secondaryProps.html">Secondary Database Properties</a></span></dt><dt><span class="sect1"><a href="readSecondary.html">Reading Secondary Databases</a></span></dt><dt><span class="sect1"><a href="secondaryDelete.html">Deleting Secondary Database Records</a></span></dt><dt><span class="sect1"><a href="secondaryCursor.html">
diff --git a/docs/gsg/JAVA/indexes.html b/docs/gsg/JAVA/indexes.html
index f022c8ac..fb3e86ef 100644
--- a/docs/gsg/JAVA/indexes.html
+++ b/docs/gsg/JAVA/indexes.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/introduction.html b/docs/gsg/JAVA/introduction.html
index 16ced742..ae961d6f 100644
--- a/docs/gsg/JAVA/introduction.html
+++ b/docs/gsg/JAVA/introduction.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -255,7 +255,7 @@
In addition to being presented in this book, these final programs are also
available in the DB software distribution. You can find them in
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the
location where you placed your DB distribution.
diff --git a/docs/gsg/JAVA/inventoryclass.html b/docs/gsg/JAVA/inventoryclass.html
index 972c9feb..38fcf51a 100644
--- a/docs/gsg/JAVA/inventoryclass.html
+++ b/docs/gsg/JAVA/inventoryclass.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/javadplconcepts.html b/docs/gsg/JAVA/javadplconcepts.html
index fb615e6d..139783c4 100644
--- a/docs/gsg/JAVA/javadplconcepts.html
+++ b/docs/gsg/JAVA/javadplconcepts.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/javaindexusage.html b/docs/gsg/JAVA/javaindexusage.html
index 9a337cdf..bf90ec8d 100644
--- a/docs/gsg/JAVA/javaindexusage.html
+++ b/docs/gsg/JAVA/javaindexusage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -89,7 +89,7 @@
<p>In our key creator class, we make use of a custom tuple binding
called <code class="classname">InventoryBinding</code>. This class is described in <a class="xref" href="dbtJavaUsage.html#InventoryJavaBinding" title="Example 8.3 InventoryBinding.java">InventoryBinding.java</a>.</p>
<p>You can find <code class="filename">InventoryBinding.java</code> in: </p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -97,13 +97,11 @@
<a id="java_index11"></a>
<pre class="programlisting">package db.GettingStarted;
+import com.sleepycat.bind.tuple.TupleBinding;
+import com.sleepycat.db.SecondaryKeyCreator;
import com.sleepycat.db.DatabaseEntry;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.SecondaryDatabase;
-import com.sleepycat.db.SecondaryKeyCreator;
-import com.sleepycat.bind.tuple.TupleBinding;
-
-import java.io.IOException;
public class ItemNameKeyCreator implements SecondaryKeyCreator {
@@ -121,15 +119,14 @@ public class ItemNameKeyCreator implements SecondaryKeyCreator {
DatabaseEntry resultEntry) // set the key data on this.
throws DatabaseException {
- try {
+ if (dataEntry != null) {
// Convert dataEntry to an Inventory object
- Inventory inventoryItem =
- (Inventory) theBinding.entryToObject(dataEntry);
+ Inventory inventoryItem =
+ (Inventory)theBinding.entryToObject(dataEntry);
// Get the item name and use that as the key
String theItem = inventoryItem.getItemName();
- resultEntry.setData(theItem.getBytes("UTF-8"));
- } catch (IOException willNeverOccur) {}
-
+ resultEntry.setData(theItem.getBytes());
+ }
return true;
}
} </pre>
@@ -323,7 +320,7 @@ public class MyDbs {
<p>That completes our update to <code class="classname">MyDbs</code>. You
can find the complete class implementation in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -363,7 +360,7 @@ public class MyDbs {
to seek to the item name key and then display all matching records.
</p>
<p>Remember that you can find <code class="filename">ExampleDatabaseRead.java</code> in: </p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -483,7 +480,7 @@ import com.sleepycat.db.OperationStatus;
line switch. To see how this is done, see
<code class="filename">ExampleDatabaseRead.java</code> in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_java/db/GettingStarted</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/java/db/GettingStarted</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/JAVA/joins.html b/docs/gsg/JAVA/joins.html
index 856ded71..1f22336d 100644
--- a/docs/gsg/JAVA/joins.html
+++ b/docs/gsg/JAVA/joins.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/keyCreator.html b/docs/gsg/JAVA/keyCreator.html
index 198c2236..561c2126 100644
--- a/docs/gsg/JAVA/keyCreator.html
+++ b/docs/gsg/JAVA/keyCreator.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/moreinfo.html b/docs/gsg/JAVA/moreinfo.html
index 4a8e4b80..ce4dd304 100644
--- a/docs/gsg/JAVA/moreinfo.html
+++ b/docs/gsg/JAVA/moreinfo.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -57,7 +57,7 @@
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_txn/JAVA/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_txn/JAVA/index.html" target="_top">
Getting Started with Transaction Processing for Java
</a>
@@ -68,28 +68,28 @@
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_db_rep/JAVA/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_db_rep/JAVA/index.html" target="_top">
Berkeley DB Getting Started with Replicated Applications for Java
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/index.html" target="_top">
Berkeley DB Programmer's Reference Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/installation/index.html" target="_top">
Berkeley DB Installation and Build Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/bdb-sql/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/bdb-sql/index.html" target="_top">
Berkeley DB Getting Started with the SQL APIs
</a>
</p>
@@ -103,7 +103,7 @@
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/java/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/java/index.html" target="_top">
Berkeley DB Javadoc
</a>
@@ -114,7 +114,7 @@
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/collections/tutorial/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/collections/tutorial/index.html" target="_top">
Berkeley DB Collections Tutorial
</a>
</p>
@@ -136,7 +136,7 @@
downloads, visit
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
</span>
<div class="sect2" lang="en" xml:lang="en">
@@ -151,8 +151,8 @@
You can post your comments and questions at the Oracle
Technology (OTN) forum for
<span>
- Oracle Berkeley DB at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
- or for Oracle Berkeley DB High Availability at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
+ Oracle Berkeley DB at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
+ or for Oracle Berkeley DB High Availability at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
</span>
diff --git a/docs/gsg/JAVA/mydbenv-persist.html b/docs/gsg/JAVA/mydbenv-persist.html
index 57cc8598..ffe401c3 100644
--- a/docs/gsg/JAVA/mydbenv-persist.html
+++ b/docs/gsg/JAVA/mydbenv-persist.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/persist_access.html b/docs/gsg/JAVA/persist_access.html
index ce1803cd..87775def 100644
--- a/docs/gsg/JAVA/persist_access.html
+++ b/docs/gsg/JAVA/persist_access.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/persist_first.html b/docs/gsg/JAVA/persist_first.html
index 30d1e942..da2fa1a3 100644
--- a/docs/gsg/JAVA/persist_first.html
+++ b/docs/gsg/JAVA/persist_first.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/persist_index.html b/docs/gsg/JAVA/persist_index.html
index a872c144..9b4c9045 100644
--- a/docs/gsg/JAVA/persist_index.html
+++ b/docs/gsg/JAVA/persist_index.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/persistobject.html b/docs/gsg/JAVA/persistobject.html
index 6cedfa81..2f175d78 100644
--- a/docs/gsg/JAVA/persistobject.html
+++ b/docs/gsg/JAVA/persistobject.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/preface.html b/docs/gsg/JAVA/preface.html
index ae4408d4..19078efc 100644
--- a/docs/gsg/JAVA/preface.html
+++ b/docs/gsg/JAVA/preface.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -67,7 +67,7 @@
<span>
- This document introduces Berkeley DB 11<span class="emphasis"><em>g</em></span> Release 2, which provides DB library version 11.2.5.3.
+ This document introduces Berkeley DB 12<span class="emphasis"><em>c</em></span> Release 1, which provides DB library version 12.1.6.1.
</span>
</p>
<p>
diff --git a/docs/gsg/JAVA/readSecondary.html b/docs/gsg/JAVA/readSecondary.html
index 0c0f693e..eb4fac5b 100644
--- a/docs/gsg/JAVA/readSecondary.html
+++ b/docs/gsg/JAVA/readSecondary.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/returns.html b/docs/gsg/JAVA/returns.html
index 4306f558..bf53647a 100644
--- a/docs/gsg/JAVA/returns.html
+++ b/docs/gsg/JAVA/returns.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/saveret.html b/docs/gsg/JAVA/saveret.html
index d3a8affe..07d893d4 100644
--- a/docs/gsg/JAVA/saveret.html
+++ b/docs/gsg/JAVA/saveret.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/secondaryCursor.html b/docs/gsg/JAVA/secondaryCursor.html
index f1e98702..d6b970bf 100644
--- a/docs/gsg/JAVA/secondaryCursor.html
+++ b/docs/gsg/JAVA/secondaryCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/secondaryDelete.html b/docs/gsg/JAVA/secondaryDelete.html
index 1ea54e6d..c1997133 100644
--- a/docs/gsg/JAVA/secondaryDelete.html
+++ b/docs/gsg/JAVA/secondaryDelete.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -59,16 +59,11 @@
<code class="methodname">SecondaryDatabase.delete()</code>
- method to delete a secondary database record.
-
-
-
- <span>Note that if your
+ method to delete a secondary database record. Note that if your
<code class="classname">SecondaryDatabase</code>
contains duplicate records, then deleting a record from the set of
duplicates causes all of the duplicates to be deleted as well.
- </span>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
diff --git a/docs/gsg/JAVA/secondaryProps.html b/docs/gsg/JAVA/secondaryProps.html
index 26e7f57b..3ca4d074 100644
--- a/docs/gsg/JAVA/secondaryProps.html
+++ b/docs/gsg/JAVA/secondaryProps.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/simpleda.html b/docs/gsg/JAVA/simpleda.html
index 4008075b..9dcde0a4 100644
--- a/docs/gsg/JAVA/simpleda.html
+++ b/docs/gsg/JAVA/simpleda.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/simpleget.html b/docs/gsg/JAVA/simpleget.html
index 366043b5..5fcfba51 100644
--- a/docs/gsg/JAVA/simpleget.html
+++ b/docs/gsg/JAVA/simpleget.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/simpleput.html b/docs/gsg/JAVA/simpleput.html
index 7317877c..8d1c21be 100644
--- a/docs/gsg/JAVA/simpleput.html
+++ b/docs/gsg/JAVA/simpleput.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/JAVA/usingDbt.html b/docs/gsg/JAVA/usingDbt.html
index 87c37545..9238dbec 100644
--- a/docs/gsg/JAVA/usingDbt.html
+++ b/docs/gsg/JAVA/usingDbt.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>