| От | Lew |
|---|---|
| Тема | Re: Interpretability with xDBC specification |
| Дата | |
| Msg-id | i10cvq$g4$1@news.albasani.net обсуждение |
| Ответ на | Re: Interpretability with xDBC specification (Dave Cramer <pg@fastcrypt.com>) |
| Список | pgsql-jdbc |
Dave Cramer wrote: > My reference was to exactly the setQueryTimeout discussion, not a > general discussion. As Oliver pointed out, please tell us what is not > compliant so that we can address this. > > It is my experience that "compliant" means the way that "XYZ" does it. > The spec is very vague in many areas so there is lots of room for > interpretation. This makes it difficult to be compliant. Case in point: The Javadocs for 'setQueryTimeout()' only promise that it will throw 'SQLException' for an argument < 0 or for a query that exceeds its timeout, not that it will not throw 'SQLException' for an argument >= 0. Therefore one could argue that the method as implemented does comply. -- Lew
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера