Tuesday, September 27, 2011

Argh!

Being a good programmer requires much patience.

Monday, September 26, 2011

How to process large data sets in Hibernate

Here's a good post discussing three ways to handle the processing of large data sets in Hibernate.

Thursday, September 22, 2011

Eclipse Mercurial plugin uses executable with version different than locally installed executable

I encountered the following issue:

1. Cloned a Mercurial repository from the command line.
2. In Eclipse, went to File -> New -> Other... -> "Create New Mercurial Repository"
3. Browsed for the newly cloned local repository and clicked the "Finish" button.
4. G0t this error in Eclipse: "abort: requirement 'dotencode' not supported!"

This was happening due to a version mismatch between the Mercurial executable used by Eclipse and the Mercurial executable installed locally. To fix this:

1. Went to Windows -> Preferences -> Team -> Mercurial in Eclipse.
2. Unchecked the "Use default (built-in) Mercurial executable" check-box.
3. Browsed for local Mercurial executable in the "Mercurial Executable" field.
4. Clicked the "OK" button on the dialog.