Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 85408 invoked from network); 20 Feb 2007 23:36:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2007 23:36:27 -0000 Received: (qmail 10902 invoked by uid 500); 20 Feb 2007 23:36:35 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 10880 invoked by uid 99); 20 Feb 2007 23:36:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 15:36:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 15:36:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 17B517141FA for ; Tue, 20 Feb 2007 15:36:06 -0800 (PST) Message-ID: <20970780.1172014566094.JavaMail.jira@brutus> Date: Tue, 20 Feb 2007 15:36:06 -0800 (PST) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Resolved: (JDO-462) Add methods to PersistenceManager and PersistenceManagerFactory to get server Date and set TimeZoneID In-Reply-To: <10207901.1170800945696.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Russell resolved JDO-462. ------------------------------- Resolution: Fixed svn commit -m "JDO-445 JDO-449 JDO-462 Updated PersistenceManager and PersistenceManagerFactory with new methods" api20/src/java/javax/jdo/PersistenceManagerFactory.java api20/src/java/javax/jdo/PersistenceManager.java tck20/src/conf/jdo-2_0-signatures.txt Sending api20/src/java/javax/jdo/PersistenceManager.java Sending api20/src/java/javax/jdo/PersistenceManagerFactory.java Sending tck20/src/conf/jdo-2_0-signatures.txt Transmitting file data ... Committed revision 509809. > Add methods to PersistenceManager and PersistenceManagerFactory to get server Date and set TimeZoneID > ----------------------------------------------------------------------------------------------------- > > Key: JDO-462 > URL: https://issues.apache.org/jira/browse/JDO-462 > Project: JDO > Issue Type: New Feature > Components: api2, api2-legacy > Affects Versions: JDO 2 final > Reporter: Craig Russell > Assigned To: Craig Russell > Fix For: JDO 2 maintenance release 1 > > > Add methods to PersistenceManager and PersistenceManagerFactory to allow a user to get the current time and date from the server. Allow the PersistenceManagerFactory to be configured statically with TimeZone ID in case the information is not available from the server itself. > This will add a method to PersistenceManager java.util.Date getServerDate() and to PersistenceManagerFactory get/setServerTimeZoneID. The PersistenceManagerFactory methods are needed in case the information needed to construct the Date are not available via the connection to the server itself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.