Update the date type variable handling for event insert
Set JDK version as 1.6
Merge pull request #3 from MengZhang/develop

Develop pull request from meng