1. TransactionTemplate vs jdbc tempalte stackoverflow.comThe Spring Framework provides two means of programmatic transaction management: 1)Using the TransactionTemplate. 2)Using a PlatformTransactionManager implementation directly. Above is mentioned at At http://static.springsource.org/spring/docs/2.0.8/reference/transaction.html Spring site has not mentioned JDBC template here. ... |
2. Is the spring TransactionTemplate and SimpleJdbcTemplate thread-safe? stackoverflow.comI am currently dealing with code where there is a singleton which is used by many threads and has no state except two fields for a TransactionTemplate and a SimpleJdbcTemplate which ... |
3. Mocking TransactionTemplate from Spring.Net with Rhino mocks stackoverflow.comI'm trying to create mock of TransactionTemplate
on last line i get NullPointerException from
any idea what may be the reason?
|
4. JDBCTemplate with TransactionTemplate and Connection Pool, which datasource to use stackoverflow.comI'm not quite sure how to formulate the question, so feel free too tell my that I am thinking completly wrong.
I want to use the |
5. Spring TransactionTemplate setPropagationBehavior stackoverflow.comI am wondering what exactly |
6. Cancel current transaction with Spring TransactionTemplate stackoverflow.comI am using a connection pool and the Spring |
7. Does Spring TransactionTemplate create threads? stackoverflow.comI've got a problem with a corrupted data structure due to concurrent access. I'm trying to rule out possible causes, but I'm not sure how the Spring |
8. Does Spring TransactionTemplate create threads? forum.springsource.orgDoes Spring TransactionTemplate create threads? I've got a problem with a corrupted data structure due to concurrent access. I'm trying to rule out possible causes, but I'm not sure how the ... |
9. Question on using TransactionTemplate forum.springsource.orgQuestion on using TransactionTemplate Hi, I am using TransactionTemplate to programatically control database transaction. I kind of copied the code from reference. Object result = tt.execute(new TransactionCallback() { public Object doInTransaction(TransactionStatus ... |
10. Odd behaviour when injecting TransactionTemplate forum.springsource.orgRegister Help Remember Me? Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? Advanced Search ... |
11. Passing parameters into TransactionTemplate forum.springsource.orgPassing parameters into TransactionTemplate I'm trying to evaluate the pros/cons of the TransactionTemplate vs PlatformTransactionManager mechanisms for programmatic transaction management. From the API and the User Guide samples, I gather there ... |
12. TransactionTemplate: FULL Programmatic Access forum.springsource.orgTransactionTemplate: FULL Programmatic Access Hi, everyone. Having used Spring now for several months, we have found parts of it that we like very much. Other parts we dislike, but that may ... |
13. TransactionTemplate newbie: what'd I do wrong? forum.springsource.orgTransactionTemplate newbie: what'd I do wrong? Hi, I'm a newbie to transactions and would appreciate any pointers (even reference materials). In the TransactionTemplate, I open a connection and set it to ... |
14. TransactionTemplate Question?? forum.springsource.orgTransactionTemplate Question?? Hi I have two Dao objects extending from JdbcDaoSupport. I use programmatic transactions where i set the datasource with setDataSource method. Following is a method from my first DAO. ... |
15. TransactionTemplate Rollback Problem forum.springsource.orgJan 23rd, 2008, 01:55 AM #1 haclegaspi View Profile View Forum Posts Private Message Junior Member Join Date Jan 2008 Posts 1 TransactionTemplate Rollback Problem Hi, I'm currently learning Spring - ... |
16. spring TransactionTemplate/JdbcTemplate work very slow under load tests forum.springsource.orgspring TransactionTemplate/JdbcTemplate work very slow under load tests hi, i work with the following environment: spring version: spring 2.0.8. data source: org.apache.commons.dbcp.BasicDataSource tx manager: org.springframework.jdbc.datasource.DataSourceTran sactionManager I use JdbcTemplate/TransactionTemplate. I test ... |
17. transactionTemplate retruns timedout transaction? forum.springsource.orghi.. using jboss 3.2.5 , and i've been trying to use TrasnactioNTemplate with it's jta, however when i do getTransaction, i always get a Timedout transaction, i have no idea why.. ... |
18. Programmatic Transaction : TransactionTemplate and HibernateTransactionManager forum.springsource.orgI have the following beans defined in the context file. Code: |
19. How: Transactiontemplate directly with rollbackrules forum.springsource.orgprivate PlatformTransactionManager transactionManager; public void setTransactionManager( PlatformTransactionManager transactionManager) { this.transactionManager = transactionManager; } RuleBasedTransactionAttribute attr = new RuleBasedTransactionAttribute(); attr.getRollbackRules().add(new RollbackRuleAttribute(ArithmeticException.class)); attr.getRollbackRules().add(new NoRollbackRuleAttribute(IOException.class)); TransactionTemplate transactionTemplate = new TransactionTemplate(transactionManager,attr); transactionTemplate.execute(new TransactionCallbackWithoutResult() { protected ... |
20. Using TransactionTemplate in spring integration forum.springsource.orgUsing TransactionTemplate in spring integration Hi, I am trying to use spring's TransactionTemplate to perform programmatic transaction management in our application's web service layer which uses spring integration framework to work ... |
21. Two TransactionTemplate use my single application. forum.springsource.orgTwo TransactionTemplate use my single application. Dear experts, In my spring application i have used two different daos,DataSourceTransactionManager, and TransactionTemplate(module1,common1) in various places. Please find below code more info, Dao1.xml: Code: ... |