• 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: Ondřej Čada <email@hidden>
  • Date: Tue, 28 Oct 2008 16:12:42 +0100

Hello,

On Oct 28, 2008, at 3:45 PM, Kieran Kelleher wrote:

Yeah ..... for single table logging apps. The *reason* EOF needs to generate and know about pks before saving is so that it can form the relationships before saving .... think to yourself how auto- increment could work in a multi-user environment where transactional saves are performed across many related tables, and you will understand that this "hassle" is a necessary thing ;-)


Well, not entirely. That's tricks like @@identity etc. are for, I understand.

Once on a customer's demand I've rewritten half of the EOF database level to support this for an EOF/Cocoa application; I am not sure it would be possible in WO/Java, but it might. Was a proper nightmare and heaps of legwork even in Objective C (where, if you happen not know the language, things generally go about thousand times easier than in the Java thing), but at the very end it worked pretty well, reliably and efficiently, and I have to admit there's something to the approach. For one, it makes a co-operation with non-EOF-based tools working on the same set of databases ways and ways easier and more robust...

Best,
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc



_______________________________________________
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: "Les Vogel" <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>)
 >Re: WO Equivalent of prepared statement (From: Randy Wigginton <email@hidden>)
 >Re: WO Equivalent of prepared statement (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: intergrated EOModeler UI feature request
  • 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