SPR-16316 — fix transaction timeout value overflow

This commit is contained in:
Skelotron 2017-12-24 04:14:29 +04:00 committed by Juergen Hoeller
parent 4a57e26d76
commit b9e03cb06b
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public abstract class ResourceHolderSupport implements ResourceHolder {
* @param seconds number of seconds until expiration
*/
public void setTimeoutInSeconds(int seconds) {
setTimeoutInMillis(seconds * 1000);
setTimeoutInMillis(seconds * 1000L);
}
/**