pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Java long
2+ messages / 2 participants
[nested] [flat]

* Java long
@ 2009-07-13 19:04  Campbell, Lance <lance@illinois.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Campbell, Lance @ 2009-07-13 19:04 UTC (permalink / raw)
  To: pgsql-jdbc

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Java long
@ 2009-07-13 21:20  David Rees <drees76@gmail.com>
  parent: Campbell, Lance <lance@illinois.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: David Rees @ 2009-07-13 21:20 UTC (permalink / raw)
  To: Campbell, Lance <lance@illinois.edu>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-07-13 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-07-13 19:04 Java long Campbell, Lance <lance@illinois.edu>
2009-07-13 21:20 ` David Rees <drees76@gmail.com>

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