getQueryTimeout

1 resposta
schistossoma

Opa!
Tem como fazer o getQueryTimeout retornar em milisegundo? Já tentei dividir o resultado por 1000, mas como retorna 0 segundos, o resultado é sempre 0. Valeu!

1 Resposta

J

Mas o método já diz:

Retrieves the number of seconds the driver will wait for a Statement object to execute. If the limit is exceeded, a SQLException is thrown.
@return the current query timeout limit in seconds; zero means there is no limit

Criado 16 de novembro de 2006
Ultima resposta 16 de nov. de 2006
Respostas 1
Participantes 2