Test SQl script added and correction hibernate annotation in Entry class.