Author: bdaw
Date: 2010-08-25 16:41:01 -0400 (Wed, 25 Aug 2010)
New Revision: 385
Modified:
idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java
Log:
- fix issues with some hibernate versions
Modified:
idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java
===================================================================
---
idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java 2010-08-24
17:39:43 UTC (rev 384)
+++
idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java 2010-08-25
20:41:01 UTC (rev 385)
@@ -511,7 +511,7 @@
HibernateRealm realm = getRealm(session, ctx);
- Number boxedSize = (Integer)session.createCriteria(HibernateIdentityObject.class)
+ Number boxedSize = (Number)session.createCriteria(HibernateIdentityObject.class)
.createAlias("identityType", "type")
.createAlias("realm", "rm")
.add(Restrictions.eq("name", name))
Show replies by date