| От | Barry Lind |
|---|---|
| Тема | Re: "text" type is java.sql.Types.varchar not longvarchar |
| Дата | |
| Msg-id | 3E9ADD96.5010308@xythos.com обсуждение исходный текст |
| Ответ на | "text" type is java.sql.Types.varchar not longvarchar (. <alzina@inicia.es>) |
| Список | pgsql-jdbc |
I personally use text instead of VARCHAR. So for me the current mapping makes sense. I generally am not conserned with the length restrictions the VARCHAR type imposes even though they are all short. thanks, --Barry . wrote: > If you get the data type of a column defined as 'text', the driver maps this > type to java.sql.Types.VARCHAR with a column size of '-1'. > > It wouldn't be better if the 'text' type, that, as its name says is not a mere > 'varchar', was mapped to java.sql.Types.LONGVARCHAR? > > Looks like *no* PostgreSQL type that fit into this java type, so why do it this > way? > > > > Manel > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера