Fixed schema for hibernate