Hi shadab_123,
looking at the code of Hibernate 3.5 through https://fisheye2.atlassian.com we can set that the exception raises in a deprecated method:
... * @deprecated see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5138 */ public static Object[] assemble( final Serializable[] row, final Type[] types, final SessionImplementor session, final Object owner) { Object[] assembled = new Object[row.length]; for ( int i = 0; i < types.length; i++ ) { if ( row[i] == LazyPropertyInitializer.UNFETCHED_PROPERTY || row[i] == BackrefPropertyAccessor.UNKNOWN ) { assembled[i] = row[i]; } else { assembled[i] = types[i].assemble( row[i], session, owner ); } } return assembled; }
HHH-5138 was fixed in Hibernate 3.6.0 so I guess you need to upgrade Hibernate to get rid of this problem.
|