From: Juergen H. <jho...@us...> - 2006-04-19 21:38:50
|
Update of /cvsroot/springframework/spring/src/org/springframework/orm/jdo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10138/src/org/springframework/orm/jdo Modified Files: JdoTransactionManager.java TransactionAwarePersistenceManagerFactoryProxy.java Log Message: polished javadoc Index: JdoTransactionManager.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/orm/jdo/JdoTransactionManager.java,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** JdoTransactionManager.java 15 Mar 2006 21:04:39 -0000 1.45 --- JdoTransactionManager.java 19 Apr 2006 21:38:43 -0000 1.46 *************** *** 50,55 **** * transactional data access. JTA (usually through JtaTransactionManager) is necessary for * accessing multiple transactional resources. Note that you need to configure your JDO ! * provider accordingly to make it participate in JTA transactions. In contrast to Hibernate, ! * this cannot be transparently provided by the Spring transaction manager implementation. * * <p>With a JdoDialect specified, this implementation also supports direct DataSource --- 50,54 ---- * transactional data access. JTA (usually through JtaTransactionManager) is necessary for * accessing multiple transactional resources. Note that you need to configure your JDO ! * provider accordingly to make it participate in JTA transactions. * * <p>With a JdoDialect specified, this implementation also supports direct DataSource *************** *** 378,382 **** } catch (JDOException ex) { ! // assumably failed to flush changes to database throw convertJdoAccessException(ex); } --- 377,381 ---- } catch (JDOException ex) { ! // Assumably failed to flush changes to database. throw convertJdoAccessException(ex); } Index: TransactionAwarePersistenceManagerFactoryProxy.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/orm/jdo/TransactionAwarePersistenceManagerFactoryProxy.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TransactionAwarePersistenceManagerFactoryProxy.java 12 Sep 2005 20:35:32 -0000 1.3 --- TransactionAwarePersistenceManagerFactoryProxy.java 19 Apr 2006 21:38:43 -0000 1.4 *************** *** 1,4 **** /* ! * Copyright 2002-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); --- 1,4 ---- /* ! * Copyright 2002-2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); *************** *** 112,116 **** } ! public boolean isAllowCreate() { return allowCreate; } --- 112,121 ---- } ! /** ! * Return whether the PersistenceManagerFactory proxy is allowed to create ! * a non-transactional PersistenceManager when no transactional ! * PersistenceManager can be found for the current thread. ! */ ! protected boolean isAllowCreate() { return allowCreate; } |