Hi there,
i upgraded from Hibernate 3.2.6 to Hibernate 3.5. Up to now, i get this code working:
Code:
crit.setProjection(Projections.rowCount());
Integer result = ((Integer)crit.list().iterator().next()).intValue();
3.5. tells me, that rowCount is returned as a Long, didnt find that in the javadoc. Is it an API change, when did it happen?
edit: and are there any other changes like this i need to know about (errors obv appearing at runtime only, dont want my customers to find all the errors for me :) )