• 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: WO Equivalent of prepared statement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO Equivalent of prepared statement


  • Subject: Re: WO Equivalent of prepared statement
  • From: Randy Wigginton <email@hidden>
  • Date: Tue, 28 Oct 2008 06:23:06 -0700

On Oct 27, 2008, at 10:15 PM, Guido Neitzer wrote:

On 27.10.2008, at 21:02, Cheong Hee (Datasonic) wrote:

You need to map the data to the column name properly, generate primay keys etc. I probably did it the wrong way,
and I need to generate my own primary key for each raw data to insert into db.

It really depends on the database and it is not hard to use the same mechanisms WebObjects uses. In PostgreSQL sequences, in FrontBase the "select unique ..." feature and so on.
Similarly in Mysql, creating a column as auto-increment can save all the "hassle" of generating a primary key.

There are many situations where EOF is the right tool, but there are also situations where there are better and faster ways.


Even with WebObjects you should recognize a screw even if you only have a hammer at hand ...

Amen!

_______________________________________________
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: WO Equivalent of prepared statement
      • From: Kieran Kelleher <email@hidden>
References: 
 >Re: WO Equivalent of prepared statement (From: "Cheong Hee (Datasonic)" <email@hidden>)
 >Re: WO Equivalent of prepared statement (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: WO Equivalent of prepared statement
  • Next by Date: Re: can I avoid this error ?
  • Previous by thread: Re: WO Equivalent of prepared statement
  • Next by thread: Re: WO Equivalent of prepared statement
  • Index(es):
    • Date
    • Thread