[Bug 404010] fix cast exception in mongodb session manager
This commit is contained in:
parent
3c498f0a2c
commit
c19642baf4
|
@ -143,7 +143,7 @@ public class MongoSessionManager extends NoSqlSessionManager
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
version = new Long(((Long)version).intValue() + 1);
|
version = new Long(((Number)version).longValue() + 1);
|
||||||
update.put("$inc",__version_1);
|
update.put("$inc",__version_1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue