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 EC3DBE1EC for ; Mon, 14 Jan 2013 20:17:53 +0000 (UTC) Received: (qmail 74843 invoked by uid 500); 14 Jan 2013 20:17:53 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 74811 invoked by uid 500); 14 Jan 2013 20:17:53 -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 74803 invoked by uid 99); 14 Jan 2013 20:17:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 20:17:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.50] (HELO mail-vb0-f50.google.com) (209.85.212.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 20:17:46 +0000 Received: by mail-vb0-f50.google.com with SMTP id ft2so3984153vbb.9 for ; Mon, 14 Jan 2013 12:17:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=V5lonX98cPfU90scRTuporqxSWNCAdl1gq0vtZ42/+s=; b=B+4sRQC+cJYbiBG2J246IJeuSONmB0a/2KocABUuY3Kcu2Q3Bto4MCCy6yG0tytm5w S7Hj6o/mCnnFP5hBwXyscV7PDivCdpJymPm1qmVxJuUHGIgnDD3Vav29xuiBu0juX6N6 hnQss6+Q671kBHyfDWJCRtVpxcyLjsfeur0P0+XWzxN6Z/mUNLYVQ+E4krcpSW8Dp2RT I/6C717eugSNfTbWuC2yHKclG7cFN1Q0qF+2c+kulKHhwazCKqyq1WAq2e+06vBk58vG Ev9DKg40KzNbbFDYU/O2H56Z7LjBDNSnqAPjBkocweR/t+hrxds53njq4Cbx3U+HIn3W n9TQ== Received: by 10.52.32.106 with SMTP id h10mr90133175vdi.1.1358194644635; Mon, 14 Jan 2013 12:17:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.198.199 with HTTP; Mon, 14 Jan 2013 12:17:04 -0800 (PST) In-Reply-To: <1358192860.13899.YahooMailNeo@web122301.mail.ne1.yahoo.com> References: <50E5C5D4.50304@prot-on.com> <1358081174.12290.YahooMailNeo@web122303.mail.ne1.yahoo.com> <50F3D018.1080800@prot-on.com> <1358187430.49567.YahooMailNeo@web122303.mail.ne1.yahoo.com> <1358192860.13899.YahooMailNeo@web122301.mail.ne1.yahoo.com> From: Michael Gentry Date: Mon, 14 Jan 2013 15:17:04 -0500 Message-ID: Subject: Re: Date or Timestamp To: Cayenne Users , emeka okafor Content-Type: multipart/alternative; boundary=bcaec51d26b8544fbe04d345556a X-Gm-Message-State: ALoCoQlMwg76Lg9ql2/csMIi4wsezGoRhDmwL1U6eRNs5BRxVtV0A5BXHAGf72KZFDpBr5TMG8A6 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51d26b8544fbe04d345556a Content-Type: text/plain; charset=ISO-8859-1 Hi there, You can choose java.sql.Timestamp in the ObjEntity and TIMESTAMP in the DbEntity. mrg On Mon, Jan 14, 2013 at 2:47 PM, emeka okafor wrote: > I am working with h2 at the moment and the modeler is mapping > java.util.Date to the database Date type but I would live to have the > datebase "Timestamp" type. How do I handle this with cayenne? > --bcaec51d26b8544fbe04d345556a--