JDO
  1. JDO
  2. JDO-462

Add methods to PersistenceManager and PersistenceManagerFactory to get server Date and set TimeZoneID

    Details

      Description

      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.

        Activity

        Hide
        Craig L Russell added a comment -

        Updated the description to match the specification.

        Show
        Craig L Russell added a comment - Updated the description to match the specification.
        Hide
        Craig L Russell added a comment -

        Please see related issue JDO-445 for the combined patch for this issue.

        Show
        Craig L Russell added a comment - Please see related issue JDO-445 for the combined patch for this issue.
        Hide
        Craig L Russell added a comment -

        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.

        Show
        Craig L Russell added a comment - 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.

          People

          • Assignee:
            Craig L Russell
            Reporter:
            Craig L Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development