It was not funny! a small change may end up in a big problemregardless of that, the code you were posted was different and therewas no @GeneratedValue !