Re: Java long

From: David Rees <drees76(at)gmail(dot)com>
To: "Campbell, Lance" <lance(at)illinois(dot)edu>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Java long
Date: 2009-07-13 21:20:06
Message-ID: 72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, Jul 13, 2009 at 12:04 PM, Campbell, Lance<lance(at)illinois(dot)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

In response to

  • Java long at 2009-07-13 19:04:56 from Campbell, Lance

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2009-07-13 21:42:01 Re: DELETE ... RETURNING
Previous Message Thomas Kellerer 2009-07-13 20:23:04 Re: DELETE ... RETURNING