• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOF and PostgreSQL Serial primary keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOF and PostgreSQL Serial primary keys


  • Subject: Re: EOF and PostgreSQL Serial primary keys
  • From: Arturo Perez <email@hidden>
  • Date: Thu, 17 Feb 2005 10:12:42 -0500

Phillip Hutchings wrote:
Hi,

I'm new at WebObjects, so I apologise if this is an RTFM-type question.

I've managed to get WebObjects working with postgres using the framework from hexdreams.com.

You may want to look at the drivers from Project Wonder, they're lots better.


IIRC, you can't use a SERIAL datatype with WebObjects for any database. None of the database drivers return, without some effort, the generated primary key when one uses the SERIAL datatype. There are various options for having WO generate primary keys: using a SEQUENCE, internally generated by EOF (24bytes), etc.

-arturo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: EOF and PostgreSQL Serial primary keys
      • From: Geoff Hopson <email@hidden>
References: 
 >EOF and PostgreSQL Serial primary keys (From: Phillip Hutchings <email@hidden>)

  • Prev by Date: Determining if an image exists
  • Next by Date: Re: The great disappearing model trick!
  • Previous by thread: EOF and PostgreSQL Serial primary keys
  • Next by thread: Re: EOF and PostgreSQL Serial primary keys
  • Index(es):
    • Date
    • Thread