Hi, How can I prevent driver is disconnected when no transaction are performed...??
When long time without transactions with DB....an Exception occurs because server disconnect client....
Thanks
|
maxIdleTime connection property: Indicates the max idle time in minute for remote connection. That option is mainly used to avoid closing automatically idle remote connection for connection pool. Embedded idle connectoin won't be closed automatically except for garbage collection. You can use 1~1440 minutes. Default: 30.
|