pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rees <drees76@gmail.com>
To: Campbell, Lance <lance@illinois.edu>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Java long
Date: Mon, 13 Jul 2009 14:20:06 -0700
Message-ID: <72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE876001D20E88@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE876001D20E88@SAB-FENWICK.sab.uiuc.edu>

On Mon, Jul 13, 2009 at 12:04 PM, Campbell, Lance<lance@illinois.edu> wrote:
> If I want to use a primitive type of "long" in java what should the
> PostgreSQL table field type be defined as?

Perhaps these links to the documentation would help you figure it out...

http://www.postgresql.org/docs/8.4/interactive/datatype-numeric.html
http://java.sun.com/javase/6/docs/api/constant-values.html#java.lang.Long.MAX_VALUE
http://java.sun.com/javase/6/docs/api/java/lang/Long.html

-Dave



view thread (2+ messages)

Message-ID: <72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com>
Permalink:  ../72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com/
Also on:    postgresql.org/message-id/72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com

 · 

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: drees76@gmail.com, lance@illinois.edu
  Subject: Re: Java long
  In-Reply-To: <72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com>
  References: <B10E6810AC2A2F4EA7550D072CDE876001D20E88@SAB-FENWICK.sab.uiuc.edu> <72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com>

* 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