PG JDBC bug?
PG JDBC bug?
От:
Chris Jones <chris@mt.sri.com>
Дата:
Hi-- I'm using the JDBC driver that came with my pg-7.0.2, and I'm also playing with Sun's J2EE SDK. Apparently, when the SDK tries to create tables, it looks at the DatabaseMetaData from the driver Connection, searching for an appropriate text type. The first one it finds is NAME, which doesn't seem quite right. The PostgreSQL manual says that NAME is really only supposed to be used for internal purposes; if that's the case, then shouldn't getTypes() say that NAME is OTHER, instead of VARCHAR? Chris -- ----------------------------------------------------- chris@mt.sri.com Chris Jones SRI International, Inc.