Aus einem englischsprachigem Forum zu diesen Thema
"text" type is java.sql.Types.varchar not longvarchar
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?
Versteh ich das richtig? Der Java.sql.type LONGVARCHAR wird von PostgreSQL nicht verstanden, und auf umgekehrten Wege wird TEXT in VARCHAR übersetzt?!



LinkBack URL
About LinkBacks
Zitieren

Lesezeichen