Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB991DD29 for ; Thu, 29 Nov 2012 20:33:39 +0000 (UTC) Received: (qmail 35193 invoked by uid 500); 29 Nov 2012 20:33:39 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 35172 invoked by uid 500); 29 Nov 2012 20:33:39 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 35163 invoked by uid 99); 29 Nov 2012 20:33:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 20:33:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.43] (HELO mail-oa0-f43.google.com) (209.85.219.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 20:33:33 +0000 Received: by mail-oa0-f43.google.com with SMTP id k1so19339244oag.16 for ; Thu, 29 Nov 2012 12:33:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=tG1Iu9rB8LqApTOjesSDM+SYlCr6kz9o/cotLuqjlb4=; b=hM5Dm0MvuquGDqJdNaohxl0ZPT5EJU6f/MYb/yN0R3V8mFgK7ZrOUjkypWrvWOI7w5 WubEWRPjXSgusrcrLr2K0GGuvUMg9ey/C8NZ4H+ZQ0+OURbY9KwB/fj6UX//jnLlMbBv l5WxhWasS0exYfda1j99ICOEcIwsgl1ArGN+jfUoIJLfDzrXYbkgS7UGaRWXSt9MT29C Ii7/uq0As5tl1yZxnPFZTfWohQTWIXDgdLjDShh9nwTtGH54ULPo4jiCfeK2Ephn9Eqs m7Ad6eeJAII9QhAs+AKBlaWqU/tc3rGvIbZYcdUwTNrUktoFm/a1zsVmdxsCdICvInQj cuNA== Received: by 10.182.49.104 with SMTP id t8mr9045722obn.0.1354221192134; Thu, 29 Nov 2012 12:33:12 -0800 (PST) Received: from [192.168.0.3] (cpe-68-203-84-248.austin.res.rr.com. [68.203.84.248]) by mx.google.com with ESMTPS id q4sm2767613obz.3.2012.11.29.12.33.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Nov 2012 12:33:11 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: check for changes before commit From: Robert Zeigler In-Reply-To: Date: Thu, 29 Nov 2012 14:33:09 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <386BBAE4-0853-4367-84FF-0F3B5D4614BD@roxanemy.com> References: <20121129193423.267770@gmx.net> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkmfq1pXw2fJhVfbOOhWGsEyhDzshWnLFfRJdDL6F36Vyu+xzkzKZZIfLEgQ1RhfXjIS1ZI X-Virus-Checked: Checked by ClamAV on apache.org Yeah, sorry I missed the thread here on the Cayenne mailing list. In the = middle of a transition right now, moving from Saint Louis, MO to Austin, = TX and my attention to the lists has been a bit spotty the last while. = Things should improve from here. :) Robert On Nov 29, 2012, at 11/292:30 PM , Michael Gentry wrote: > I saw that on the Tapestry list. Glad you got it working. >=20 > mrg >=20 >=20 >=20 > On Thu, Nov 29, 2012 at 2:34 PM, wrote: >=20 >>>> @Startup >>>> public void init(ObjectContextProvider provider) { ... } >>=20 >> A comment by the author of the T5-Cayenne module on the tapestry = mailing >> list made me realize that there must be a mistake in my own code. And >> indeed, I'd made a stupid mistake: I used provider.currentContext() = instead >> of newContext(). My bad. >>=20 >> It works now and the last modified dates are set accordingly. :-) >>=20 >> Thanks. >>=20 >>=20 >>=20