Hibernate is working now, but HistoryItem still needs to be changed before successful run. Also there is timestamp again instead of date, because we need to save the time as well