change method addTicket TicketDAO, change @GeneratedValue in all entities