Dude, I've got no idea what you're saying here. :) Doug
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, June 06, 2006 7:29 AM To: [email protected] Subject: Re: [Reactor for CF] Retriving new PK of a just-created Record On Tuesday 06 June 2006 09:08, Tom Chiverton wrote: > I'd love someone to check me on this :-) Because I've just added timestamp'ed log statements in the code that retrieves the new PK during create() in the Dao, and as the last line of the save() method in the Record. The Record end-of-save method timestamp is *before* the timestamp for the PK lookup in the DAO (!). If I turn debugging on, the difference is fairly large: 06/06 12:18:50 Information [jrpp-471] - ** end of save: 0 @ {ts '2006-06-06 12:18:50'} 06/06 12:19:11 Information [jrpp-471] - ** got new PK = 20 @ {ts '2006-06-06 12:19:11'} And another thing - I notice I get the end-of-save twice, once without the 'new PK' log a little earlier. 06/06 12:18:50 Information [jrpp-471] - ** end of save: 0 @ {ts '2006-06-06 12:18:50'} *EH* ? -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

