Fix for Issue #505
Merge branch 'trunk' of github.com:impetus-opensource/Kundera into trunk