Re: Java long - Mailing list pgsql-jdbc

From David Rees
Subject Re: Java long
Date
Msg-id 72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com
Whole thread Raw
In response to Java long  ("Campbell, Lance" <lance@illinois.edu>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: DELETE ... RETURNING
Next
From: Oliver Jowett
Date:
Subject: Re: DELETE ... RETURNING