Hmmm. The first thing that pops into mind is that you are specifying a java.util.ArrayList. This is perhaps for some association?? Well, Hibernate requires that you not use actual Collection classes but only Collection interfaces: e.g., List, not ArrayList, so that Hibernate can then sneakily substitute its own implementations. Those implementations are essential to the dynamic resolution of relationships: e.g., lazy loading. So, off the cuff, that's the first change I'd make.
Second, post more of the mapping file. This error looks familiar but the mapping will give better insight.
|