Hi All,

I am getting a Class cast Exception when using LCDS HibernateAssember 
with pagging support on Hibernate 3.2 and Oracle 10g.  The code works 
fine with Hibernate 3.1.

The exception is in the code:
Integer count = (Integer) session.createQuery("select count(*) from ...

In Hibernate 3.1 the return is an Ingeter.  In 3.2 the return is a Long.

Is this a HibernateAssembler bug or is there a configuration that I am 
missing on the Oracle side to make it return an Integer?  

Any help would be appreciated!

Thanks,
Chang



Reply via email to