Re: PostgreSQL data types mapped Java classes for JDBC - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: PostgreSQL data types mapped Java classes for JDBC
Date
Msg-id 4CAF9AB6.4010203@opencloud.com
Whole thread Raw
In response to Re: PostgreSQL data types mapped Java classes for JDBC  (Thangalin <thangalin@gmail.com>)
List pgsql-jdbc
Thangalin wrote:
> That's the problem, John.
>
> No single location provides a consistent way to know what all those
> bindings are and how they differ. If you wanted to write dynamic code
> that generates the correct mapping, you cannot readily create any such
> implementation.

Use DatabaseMetadata, it's intended for exactly this case.

Oliver

pgsql-jdbc by date:

Previous
From: dmp
Date:
Subject: Re: PostgreSQL data types mapped Java classes for JDBC
Next
From: danap@itstriangle.com
Date:
Subject: DatabaseMetaData.getTablePrivileges()