- connectTimeout
- socketTimeout
- enableQueryTimeouts para usar Statement.setQueryTimeout()
Ellas son especificables en el string de conexión a mysql:
jdbc:mysql://[host:port],[host:port].../[database] [?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]...
http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html
No hay comentarios:
Publicar un comentario