| От | Thomas Kellerer |
|---|---|
| Тема | Re: bit datatype and getObject() |
| Дата | |
| Msg-id | icigo3$fs0$1@dough.gmane.org обсуждение исходный текст |
| Ответ на | Re: bit datatype and getObject() (dmp <danap@ttc-cmc.net>) |
| Список | pgsql-jdbc |
dmp, 24.11.2010 04:06: > It is true that the mapping is java.lang.Boolean for the bit(x), but > there is another type in PostgreSQL to define a multi-bit type. Have > you tried: bit varying(5) retrieval by getObject()? Because that type > does map to java.lang.Object. Correct. The only thing I noticed is that it returns Types.OTHER as the datatype, not Types.BIT But as I don't know if Types.BIT is meant to include "multi-bit" types I don't know if that is correct or not. > Either way isn't this a server issue on the mapping, not the JDBC? I don't think so. psql displays this correctly. Regards Thomas
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера