Index: src/java/javax/jdo/PersistenceManager.java =================================================================== --- src/java/javax/jdo/PersistenceManager.java (revision 551284) +++ src/java/javax/jdo/PersistenceManager.java (working copy) @@ -338,7 +338,7 @@ * @return the corresponding persistent instance * @since 2.0 */ - Object getObjectById (Class cls, Object key); + T getObjectById (Class cls, Object key); /** * Looks up the instance corresponding to the specified oid. This is @@ -516,7 +516,7 @@ * persistent state, or the corresponding persistent instance * for detached parameter instances */ - Object makePersistent (Object pc); + T makePersistent (T pc); /** Make an array of instances persistent. * @param pcs an array of instances @@ -526,7 +526,7 @@ * parameter array * @see #makePersistent(Object pc) */ - Object[] makePersistentAll (Object[] pcs); + T[] makePersistentAll (T[] pcs); /** Make a Collection of instances persistent. * @param pcs a Collection of instances @@ -536,7 +536,7 @@ * as in the parameter Collection * @see #makePersistent(Object pc) */ - Collection makePersistentAll (Collection pcs); + Collection makePersistentAll (Collection pcs); /** Delete the persistent instance from the data store. * This method must be called in an active transaction. @@ -923,7 +923,7 @@ * @see #detachCopyAll(Object[]) * @since 2.0 */ - Object detachCopy (Object pc); + T detachCopy (T pc); /** * Detach the specified instances from the PersistenceManager. @@ -936,7 +936,7 @@ * @see #detachCopyAll(Object[]) * @since 2.0 */ - Collection detachCopyAll (Collection pcs); + Collection detachCopyAll (Collection pcs); /** * Detach the specified instances from the PersistenceManager. @@ -962,7 +962,7 @@ * @see #getFetchPlan * @since 2.0 */ - Object[] detachCopyAll (Object [] pcs); + T[] detachCopyAll (T[] pcs); /** * Put the specified key-value pair into the map of user objects. @@ -1042,7 +1042,7 @@ * @return the created instance * @since 2.0 */ - Object newInstance (Class pcClass); + T newInstance (Class pcClass); /** * Returns the sequence identified by name.