You don't close Hibernate Session, so your PlayerCalendar
instances remain attached to session, then you modify their url
property by calling
String url=arr[i].getUrl()+"?eventid="+arr[i].getEventid();
arr[i].setUrl(url);
so hibernate updates the entity on each request (and concats ?eventid=...
to it).
So it is normal to have a URL with multiple ?eventId=...
s.