Proposed fix for https://sourceforge.net/p/ormlite/bugs/175/. The fix works for my app. There are unit test failures but Iwas geting same failures without making my change.