SPR-16316 — fix transaction timeout value overflow

This commit is contained in:
Skelotron
2018-01-07 23:48:24 +01:00
committed by Juergen Hoeller
parent 4a57e26d76
commit b9e03cb06b
@@ -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);
}
/**