Обсуждение: Java long

Поиск
Список
Период
Сортировка

Java long

От
"Campbell, Lance"
Дата:

If I want to use a primitive type of "long" in java what should the PostgreSQL table field type be defined as?

Thanks,

Lance Campbell
Project Manager/Software Architect/DBA
Web Services at Public Affairs
217-333-0382

Re: Java long

От
David Rees
Дата:
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