I'm having a strange problem with a simple load query. The query returns multiple rows but if I use query.iterate() I get the following error:
INFO: Error performing load command org.hibernate.HibernateException: More than one row with the given identifier was found: 535, for class: com.InsureSuite.Quote.Driver at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:162)
if I use query.list() and then grab the iterator using List.iterator() it works fine but I get the same exact data for all returned rows. The number of rows returned is consistent with the query but they all contain the same data. Any ideas what is going on?