Return-Path: Delivered-To: apmail-incubator-ofbiz-user-archive@locus.apache.org Received: (qmail 42818 invoked from network); 5 Oct 2006 12:21:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 12:21:41 -0000 Received: (qmail 48310 invoked by uid 500); 5 Oct 2006 12:21:39 -0000 Delivered-To: apmail-incubator-ofbiz-user-archive@incubator.apache.org Received: (qmail 48296 invoked by uid 500); 5 Oct 2006 12:21:39 -0000 Mailing-List: contact ofbiz-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ofbiz-user@incubator.apache.org Delivered-To: mailing list ofbiz-user@incubator.apache.org Received: (qmail 48287 invoked by uid 99); 5 Oct 2006 12:21:39 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 05:21:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=HTML_MESSAGE Received: from [66.180.172.38] ([66.180.172.38:59863] helo=smtp.millcreeksys.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 76/44-20288-7A8F4254 for ; Thu, 05 Oct 2006 05:21:00 -0700 Received: from localhost (localhost [127.0.0.1]) by smtp.millcreeksys.com (Postfix) with ESMTP id 9F56D340EB for ; Thu, 5 Oct 2006 06:20:20 -0600 (MDT) Received: from smtp.millcreeksys.com ([127.0.0.1]) by localhost (smtp.millcreeksys.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22385-03 for ; Thu, 5 Oct 2006 06:20:20 -0600 (MDT) Received: from tushard (unknown [203.115.81.85]) by smtp.millcreeksys.com (Postfix) with ESMTP id 36624340E6 for ; Thu, 5 Oct 2006 06:20:18 -0600 (MDT) From: "Tushar Abhyankar" To: Subject: Problem with TimeStamp Date: Thu, 5 Oct 2006 17:50:12 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C6E8A6.B5E6E120" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 thread-index: AcboeJrseI6yXQJ8QL+TTmkLjg9p3w== Message-Id: <20061005122018.36624340E6@smtp.millcreeksys.com> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at millcreeksys.com X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0036_01C6E8A6.B5E6E120 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi Everyone , I have this problem, when I am fetching a record from the database the timestamp is exactly 30 min ahead of the persisted timestamp. For instance the fetched data for a particular PartyContactMech is [fromDate,2006-10-05 11:30:18.269(java.sql.Timestamp)] But the persisted fromDate timestamp in PartyContactMech is fromDate- 2006-10-05 11:00:18.269+05:30 Log when we fetch PartyContactMech [GenericEntity:PartyContactMech][allowSolicitation,null()][comments,null()][ contactMechId,10601(java.lang.String) ][createdStamp,2006-10-05 11:30:18.27(java.sql.Timestamp)][createdTxStamp,2006-10-05 11:30:17.503(ja va.sql.Timestamp)][extension,null()][fromDate,2006-10-05 11:30:18.269(java.sql.Timestamp)][lastUpdat edStamp,2006-10-05 11:30:18.27(java.sql.Timestamp)][lastUpdatedTxStamp,2006-10-05 11:30:17.503(java. sql.Timestamp)][monthsWithContactMech,null()][partyId,10600(java.lang.String )][roleTypeId,null()][th ruDate,null()][yearsWithContactMech,null()]] And the same data of party in partyContactMech Table View is: partyId- 10600 contactMechId- 10601 fromDate- 2006-10-05 11:00:18.269+05:30 thruDate- lastUpdatedStamp- 2006-10-05 11:00:17.503+05:30 lastUpdatedTxStamp- 2006-10-05 11:00:18.27+05:30 createdStamp- 2006-10-05 11:00:18.27+05:30 createdTxStamp- 2006-10-05 11:00:17.503+05:30 Does anyone have any idea about why this is happening? Regards, Tushar. ------=_NextPart_000_0036_01C6E8A6.B5E6E120--