I want to set jdbc connection lifetime and lifespan how do i do it.
I tried using properties.
Properties info = new properties();
info.put(user,"username");
info.put(password,"password");
info.put(connection lifetime, 0);
DriverManager.getConnection(server,info)
But this didn't work please help.