[Bug 404010] fix cast exception in mongodb session manager

This commit is contained in:
Jesse McConnell 2013-04-23 10:28:03 -05:00
parent 3c498f0a2c
commit c19642baf4
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ public class MongoSessionManager extends NoSqlSessionManager
}
else
{
version = new Long(((Long)version).intValue() + 1);
version = new Long(((Number)version).longValue() + 1);
update.put("$inc",__version_1);
}