Generated by
JDiff

org.springframework.orm.jdo Documentation Differences

This file contains all the changes in documentation in the package org.springframework.orm.jdo as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class JdoOperations, T execute(JdoCallback<T>)

Execute the action specified by the given action object within a PersistenceManager. Application exceptions thrown by the action object get propagated to the caller (can only be unchecked). JDO exceptions are transformed into appropriate DAO ones. Allows for returning a result object, i.e. a domain object or a collection of domain objects.

Note: Callback code is not supposed to handle transactions itself! Use an appropriate transaction manager like JdoTransactionManager. @param action callback object that specifies the JDO action @return a result object returned by the action, or null @throws org.springframework.dao.DataAccessException in case of JDO errors @see JdoTransactionManager @see org.springframework.dao @see org.springframework.transaction @see javax.jdo.PersistenceManager

Class JdoOperations, void flush()

Flush all transactional modifications to the database.

Only invoke this for selective eager flushing, for example when JDBC code needs to see certain changes within the same transaction. Else, it's preferable to rely on auto-flushing at transaction completion. @throws org.springframework.dao.DataAccessException in case of JDO errors @see javax.jdo.PersistenceManager#flush() @see JdoDialect#flush(javax.jdo.PersistenceManager)