Other JDBM Example Code

Help
2004-01-27
2004-02-01
  • 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.

    Thanks,

    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.

      alex

       
      • 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?

        Thanks,
        Steven Waldren

         

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

Sign up for the SourceForge newsletter:





No, thanks