| От | Jean-Max Reymond |
|---|---|
| Тема | Re: europeans dates whith jdbc |
| Дата | |
| Msg-id | 3FDDD571.8070606@free.fr обсуждение исходный текст |
| Ответ на | Re: europeans dates whith jdbc (Kris Jurka <books@ejurka.com>) |
| Список | pgsql-jdbc |
Kris Jurka wrote: >I assume you are using getString() to retrieve the column in question? In >Java a more appropriate method would be to use getDate() and use the jvm's >locale settings to format it or SimpleDateFormat if that suits you better. > >It is significantly easier for the JDBC driver to set and use its own >datestyle rather than having each date related call be conditional on the >current datestyle settings. > >Kris Jurka > > > > > works fine now with your solution. thanks a lot, -- Jean-Max Reymond email: jmreymond@free.fr tel: 33 (0)6 16 94 25 11 http://jmreymond.free.fr/Etna2002
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера