getQueryTimeout  XML
Índice dos Fóruns » Java Avançado
Autor Mensagem
schistossoma
Debugger
[Avatar]

Membro desde: 07/11/2006 01:48:58
Mensagens: 72
Offline

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!

"Glória do desporto nacional, Ó Internacional que eu vivo a exaltar..."
julianostr
GUJ Ranger
[Avatar]

Membro desde: 31/03/2006 14:16:14
Mensagens: 855
Localização: Blumenau - SC
Offline

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


LASER
Light Amplification by Stimulated Emission of Radiation
 
Índice dos Fóruns » Java Avançado
Ir para:   
Powered by JForum 2.1.8 © JForum Team