Migration to prepare statements.
Fix for STOR-344.
Fix for STOR-344.
Fix for STOR-344.
Merge pull request #4 from italiangrid/fix/STOR-344

Fix/stor 344