value to be given for AUTO_COMMIT option

Help
Pani
2011-07-25
2013-06-03
  • Pani
    Pani
    2011-07-25

    Hi,

    I am trying to enable AUTO_COMMIT and gave the following line of code. Looks like it is not working since I saw the log file growing in size.

    properties.put(RecordManagerOptions.AUTO_COMMIT,"Yes");

    Is "Yes" the right value? I searched a lot but couldn't find references to values that could be given for this option.

    Please let us know.

    Thanks,
    Pani

     
  • Pani
    Pani
    2011-07-26

    Can someone help me here please?

    Thanks,
    Pani

     
  • Bryan Thompson
    Bryan Thompson
    2011-07-26

    Hello, Boolean options in Java are generally "true" or "false".  You can always look at the source code and search for references to the option to see how it is parsed, e.g., Boolean.valueOf(String).  It's been an age since I was involved in jdbm so I really can't comment on the behavior of the log file.  Bryan