Other JDBM Example Code

  • Steven E. Waldren

    Where can I find other example code besides FruitBasket and FamousPeople? 

    My project needs to have a hashtable and a BTree.  I put together some code, but the insert into the BTree fails (IOException).  I don't think I understand the jdbm packages enough to ask specific questions.


    Steven Waldren

    • Alex Boisvert

      Alex Boisvert - 2004-01-27

      I don't really have other simple code snippets to show but if you want send more details about your code and exception, I'll try my best to help.


      • Steven E. Waldren

        Thanks.  I found the problem and it was not in the way I was using the jdbm package. 

        I did try to make a new Class called myStringComparator.  I first tried to extend StringComparator but it is a final class. Then I tried to cut and paste the code into myStringComparator.java and then modify the implementation of the compareTo method (to ignore case).  I got an exception which gave me "...serialVersionID.....exception". 

        Do I need to change the serialVesionID value in my new Class?

        Steven Waldren


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks