"text" type is java.sql.Types.varchar not longvarchar

Поиск
Список
Период
Сортировка
От .
Тема "text" type is java.sql.Types.varchar not longvarchar
Дата
Msg-id 20030411184215.056934fe.alzina@inicia.es
обсуждение исходный текст
Ответы Re: "text" type is java.sql.Types.varchar not longvarchar  (Barry Lind <blind@xythos.com>)
Список pgsql-jdbc
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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: Performance of batches with Statements and PreparedStatements
Следующее
От: "kangch"
Дата:
Сообщение: DriverManager.setLoginTimeout question