Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can com.SleepycatJE.util.db_dump dump BDB 1.85?

562345Feb 23 2007 — edited Feb 26 2007
Hi,

I know db_dump185 and db_load can upgrade BDB 1.85 to the later version. Is it possible to use com.SleepycatJE.util.db_dump and com.SleepycatJE.util.db_load to convert BDB 1.85 programmatically? I tried both SleepycatJE 1.0.x and 3.0.x.

In 3.0.x, it complains "No such a constructor defined" about
DbDump dump = new DbDump(env, databaseName, outputStream, boolean);

In 1.0.x, it gets complied. But it gives a runtime error:
The database file is not found.
The BDB 1.85 is there. So I guess it doesn't support BDB 1.85.

Did anyone ever make this conversion successfully? Would you please share a simple example. Many Thanks!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2007
Added on Feb 23 2007
2 comments
1,302 views