[
https://issues.jboss.org/browse/ISPN-4535?page=com.atlassian.jira.plugin....
]
Radim Vansa commented on ISPN-4535:
-----------------------------------
The CacheStore API is set, nothing but int can be returned. Do you recommend rather
saturated cast? (anything greater than INT_MAX will become INT_MAX)
size() operator on JPACacheStore should expect larger than int
--------------------------------------------------------------
Key: ISPN-4535
URL:
https://issues.jboss.org/browse/ISPN-4535
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Loaders and Stores
Reporter: Sanne Grinovero
Assignee: Radim Vansa
the return type of the CacheStore#size() is int but it's common in databases to store
way more.
The query performing the count operation is doing a cast to integer, this will fail.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)