pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: Thangalin <thangalin@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL data types mapped Java classes for JDBC
Date: Fri, 08 Oct 2010 14:33:27 -0600
Message-ID: <4CAF8017.90607@ttc-cmc.net> (raw)
In-Reply-To: <AANLkTinsk4rwT7v-751bwQkgTN1rkA=8uE-jk69nape-@mail.gmail.com>
References: <AANLkTinsk4rwT7v-751bwQkgTN1rkA=8uE-jk69nape-@mail.gmail.com>

Thangalin wrote:
> Hi, all.
>
>
> Where are all the PostgreSQL data types mapped to Java classes? I have 
> found the following from an old mailing list message:
>
> 1 data_type_id Data Type Id java.lang.Integer int4 11
>
>
>
>
>    
That list was generated by my application which I use to do exactly
what is indicated. Create/track changes that might occur in the JDBC
and database backend for the data types. The application creates the
data types mapping dynamically for each table and its critical that
I know if changes occur. I have not created the re-generated list for
the current 9.0 release, yet. I have the basics scripts and the app
generates the list. It usually only takes a few minutes. I could probably
put something together so others could run has needed to check
their configurations. I haven't checked lately if all the data types
are covered, I know enum aren't in the list.

danap.



view thread (6+ messages)  latest in thread

Message-ID: <4CAF8017.90607@ttc-cmc.net>
Permalink:  ../4CAF8017.90607@ttc-cmc.net/
Also on:    postgresql.org/message-id/4CAF8017.90607@ttc-cmc.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: danap@ttc-cmc.net, thangalin@gmail.com
  Subject: Re: PostgreSQL data types mapped Java classes for JDBC
  In-Reply-To: <4CAF8017.90607@ttc-cmc.net>
  References: <AANLkTinsk4rwT7v-751bwQkgTN1rkA=8uE-jk69nape-@mail.gmail.com> <4CAF8017.90607@ttc-cmc.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox