Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Oliver JowettDate: 2009-07-13 21:42:01
Subject: Re: DELETE ... RETURNING
Previous:From: Thomas KellererDate: 2009-07-13 20:23:04
Subject: Re: DELETE ... RETURNING

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group