1. How can I chop down a transaction in Spring with JPA? stackoverflow.comI have this code:
|
2. Spring user transaction with hibernate stackoverflow.comI want to control hibernate transaction myself so I can rollback at any time. I calling a thread to do business but not waiting for it to finish its job and ... |
3. WAS 6.1, Hibernate, Spring and transaction managmement configuration stackoverflow.comI'm using Websphere Application Server Express v6.1 and am writing an application which uses Spring 2.0.7, Hibernate 3.5. My datasource is Oracle 10g. I have 2 question
|
4. JPA and Spring transactions - please explain stackoverflow.comtoday I have coded a test case for my application, to see how transactions behave. And I have found that nothing works the way I thought it does. I have a Spring-based ... |
5. Spring @Transactional merge and persist question stackoverflow.comnew to Spring and here @stackoverflow I'm building an stand-alone Inventory & Sales tracking app (Apache Pivot/Spring/JPA/Hibernate/MySQL) for a distributor business. So far I think everything is CRUD, so I plan to have ... |
6. Hibernate Spring Transactions stackoverflow.comI'm trying to get my spring DAOs to work but I only get this exception
|
7. jpa @version optimistic locking stackoverflow.comI loaded same entity record on 2 separate browser window then press submit (hibernate template.merge), version number incremented for both browser window, but never caught any problem with optimistic lock.. ... |
8. How can I use Spring HibernateOperations for simple operations with a implicit transaction? stackoverflow.comI currently make heavy use of HibernateOperations in Spring for working with Hibernate. Some of the time I use a TransactionTemplate to demark a transaction explicitly. However sometimes I ... |
9. Transaction error while updating data stackoverflow.comFollowing error occurs while updating a particular data in my web application.I am using HibernateTransactionManager to manage all transactions in the application. Error:- Pre-bound JDBC Connection found! HibernateTransactionManager does not ... |
10. Spring programmatic transaction with parameter stackoverflow.comI'm working on some data access logic with Spring, my question has to do with transactions. The transaction documentation http://static.springsource.org/spring/docs/2.5.x/reference/transaction.html shows that you can implement declarative or programmatic transactions. ... |
11. Do I understand Spring @Transactional behaviour correctly? stackoverflow.comI was hoping someone could confirm my understanding of transaction behaviour in a Spring service.
Firstly, am I correct in believing that When using |
12. Spring @Transactional not creating required transaction stackoverflow.comOk, so I've finally bowed to peer pressure and started using Spring in my web app :-)... So I'm trying to get the transaction handling stuff to work, and I just can't ... |
13. Sharing transactions between web applications, which run in the same cluster stackoverflow.comWe (will) have the following architecture:
|
14. Using Spring defined transactionManager in JPA/Hibernate stackoverflow.comSuppose you use JPA with Spring, with Hibernate as JPA implementation.
JPA transaction mode is "JTA", so you need to pass the container transactionManager to Hibernate.
The classical answer is to set |
15. Spring + Hibernate transaction takes 25 seconds doing nothing stackoverflow.comI have a Java application using Spring + Hibernate. I have a pretty simple transaction that just recently started to take REALLY long to execute (~25 secs) though it's not making ... |
16. spring and @transactional, is this normal? stackoverflow.comi wrote this simple example:
|
17. The chosen transaction strategy requires access to the JTA TransactionManager or Unable to build EntityManagerFactory stackoverflow.comI am using Spring 2.0.6 and Hibernate 3.2.x on apache tomcat5.5,now we planed to changed our hybernate mapping files into hybernate+jpa support mapping files. for that we created ... |
18. Pessimistic Offline Lock (Java, Spring) stackoverflow.comI'm trying to implement a pessimistic offline lock using Spring and JPA/Hibernate. I have a lock table in my database that stores all locks (id of the record that's locked, timestamp ... |
19. unable to catch DataIntegrityViolationException with wrapped transaction stackoverflow.comI'm using Spring 3 for managing DB transactions. Whenever an exception is raised, I catch the exception and return the corresponding message. But when Spring commits the transaction, the exception is ... |
20. JPA transaction rollback is not working stackoverflow.comHi all I have done an application configuration using hybernate + JPA ,and atomikos for XA transcation management and spring 3.0 and mysql is my backend,here every thing ... |
21. Spring to automatically open another transactionManager? stackoverflow.comI have two Databases , with two sets of spring configurations :
The lower level is |
22. OptimisticLockException in inner transaction ruins outer transaction stackoverflow.comI have the following code
|
23. Spring and Hibernate transactions stackoverflow.comI am new to Spring and I was just reading the docs about Hibernate-Spring integration (version 3). I don't get why the automatic transaction management (the declarative one) is applied to ... |
24. createCriteria requires an active transaction stackoverflow.comIm having a problem with some spring + hibernate stuff.
|
25. Benefits of using Springs Transaction management vs using hibernate stackoverflow.comI've been trying to learn spring and hibernate, and I've used a lot of examples around the net to put together a nice application. However, I realized now that Spring supports ... |
26. Managing rollback on transaction stackoverflow.comI've a problem with the annotation |
27. understanding JTA Spring and Bitronix stackoverflow.comI am trying to understand what is the difference between JTA, Spring and Bitronix? What should I use for transactions in Hibernate persistence? |
28. Transaction management for "inner" transaction stackoverflow.comI need somebody's help to implement correctly the following scenario:
|
29. Hibernate txProxyTemplate and declaring transactions stackoverflow.comI have a bean that extends this txProxyTemplate and inside it, this method orderUpdateOverseer calls getHibernateTemplate().saveOrUpdate(someObject);
I noticed that hibernate flushes the updates to the database only ... |
30. Spring transactions and JPA stackoverflow.comMy Spring app is displaying an unwanted behavior and I don't know how to solve this problem. I have a method that I would like to be transactional; I noticed however that ... |
31. Using transaction in Spring 3.0 in Spring + JPA + Hibernate stackoverflow.comI currently using Spring + JPA + hibernate in a project. Then i decide my design pattern in model dan DAO implementation. I have a abstract for all my transaction purpose class. Every ... |
32. When to use transactions in Spring with Hibernate? stackoverflow.comUpgrading my project I'm thinking here about transactions. Well the thing is I'm not quite sure when should I use the transactions for my Hibernate queries in Spring. Not that I ... |
33. Configuring a standalone application for JTA and JPA with Spring stackoverflow.comI have a standalone application that uses JPA. I want to configure it as in section 13.5 of the manual. That part of the manual is piece-meal when it comes to ... |
34. Transactional picture repository in Spring web application stackoverflow.comI wrote some kind of picture repository to use it in my Spring web application. It's based on filesystem. I also use Hibernate. Some transactional service methods should use hibernate data access ... |
35. org.hibernate.HibernateException: merge is not valid without active transaction stackoverflow.comAt first the applicationContext.xml is:
|
36. Spring , Transactions , Hibernate Filters stackoverflow.comI am using declarative transactions in Spring. I have a service layer which is annotated with "Transactional". This service layer calls the DAO. I need to enable a hibernate filter ... |
37. Why is getHibernateTemplate().delete(entity) failing? stackoverflow.comHere is the code: // Hibernate model
|
38. The transaction with Spring e Jpa stackoverflow.comi have the same problem, my Transactions not write into DB. I think this Spring problem regard is not a bug of framework, but is a problem of configuration file ... |
39. Synchronizing spring transaction stackoverflow.comWe use Spring and Hibernate in our project and has a layered Architechture. Controller -> Service -> Manager -> Dao. Transactions start in the Manager layer. A method in the service ... |
40. Transactions in Spring / Hibernate / appfuse stackoverflow.comAs a follow up to the question here: Spring 2.0 Annotations and ant We were able to get the annotations working (@Transactional), and also tried manually coding a Transaction. In both ... |
41. Hibernate OptimisticLocking not working stackoverflow.comI am using Hibernate 3.6.6 with Sping 3.0.4 After adding
to my bean and running following testcase
Hibernate Don't add proper ... |
42. (Spring + Hibernate) system hangs at TransactionSynchronizationManager stackoverflow.com[Spring+Hibernate] system hangs for serveral minutes, the last messge in the log is:
|
43. Cannot get @Transactional to work properly in Spring 3 stackoverflow.comUPDATE: Sorry I seemed to have forgot some things...see bottom of the post for dispatcher-servlet.xml as well as the beans that call the @Repository: I can't seem to get this to ... |
44. Issue with hibernate/Spring transaction management stackoverflow.comI am facing a problem with Spring Transaction management. I am using hibernate as ORM framework. And below is my spring for transaction management.
|
45. What's the link between @Transactional and cascading? stackoverflow.comThere seems to be a link between the presence of the @Transactional annotation on a Spring JUnit test and cascading when persisting/merging a JPA2 entity. I don't have the configuration at hand ... |
46. Transaction and Rollback in Spring with JPA stackoverflow.comHi friends of StackOverflow, I do not understand how to roll back I read the documentation of Spring, but I still do not understand. Basically I'm going to persist an object in ... |
47. Spring @Transaction not starting transactions [Solved] stackoverflow.comI am using Spring 3 with Hibernate 3. I am trying to configure Spring declarative transaction, but no matter what I try, Spring transaction is not getting started. Here is my ... |
48. If a class is marked as @Transactional, could the usual transaction management boilerplate code be omitted? stackoverflow.comIf a class is marked as @Transactional, does that mean that the boilerplate:
|
49. Inner transaction changes not visible to outer transaction stackoverflow.comI'm using Spring3+JPA+Hibernate. I've tried to keep structure of the example similar to my actual code structure. Please scroll to the bottom for the actual question. Zipped maven project can be ... |
50. JPA Error : Transaction is currently active stackoverflow.comWhen I run my unit tests in isolation they work fine ie. (omitted the asserts)
then running ... |
51. Do I need to explicitly save a modified domain object within a spring transaction? stackoverflow.comIf I have a transaction as follows where my domain object is mapped as Cascade.ALL using Hibernate:
|
52. Spring/Hibernate Truncate/Delete all rows from a table - Transaction issues stackoverflow.comI have a Camel project and after we create a controll bean we want to clean up a DB log table. SO each time we run the application we TRUNCATE a ... |
53. Pessimistic locking with Hibernate and DB2 (and Derby)? stackoverflow.comHaving the following code:
|
54. Spring 3 Transaction support stackoverflow.comHi I am reading Spring in Action 3 book and I came across this paragraph where it talks about JPA transactions, It's important to note that the JpaDialect implementation must ... |
55. Hibernate transaction rollback with spring is not working right stackoverflow.comSpring 3.0.0 Hibernate 3 MySQL 5 JBoss 5 I have an app using Spring's hibernate transactions. I have an update that affects two tables, and if there is an exception on the second update, the ... |
56. Persistence failed with Hibernate/JPA transactional forum.springsource.orgJan 11th, 2011, 03:36 PM #1 kakawait View Profile View Forum Posts Private Message Junior Member Join Date Jan 2011 Posts 7 Persistence failed with Hibernate/JPA transactional Hello, I'm using transactional ... |
57. Pessimistic locking, Spring, Hibernate forum.springsource.orgPessimistic locking, Spring, Hibernate Hi, I'm trying to apply pessimistic locking on a field in one of my DB tables, using PostgreSQL, Spring and Hibernate. I tested my locking with two ... |
58. Please help, spring + hibernate transaction not rollback forum.springsource.orgPlease help, spring + hibernate transaction not rollback Spring Configuration Code: |
59. Please help, spring + hibernate transaction not rollback forum.springsource.orgPlease help, spring + hibernate transaction not rollback Spring Configuration Code: |
60. Spring Transaction Management+JPA+Hibernate forum.springsource.orgSpring Transaction Management+JPA+Hibernate Hi, I am working with Spring 3+Hibernate(JPA)+Oracle and we are using the traditional Spring way of doing things - Service Layer/DAO Layer (program to interface). In one of ... |
61. A question about JTA transactions with Spring and Hibernate forum.springsource.orgA question about JTA transactions with Spring and Hibernate Hi all, i have an environment set up with xa jta transactions with Spring + Hibernate + Jotm. I configured everything following ... |
62. TransactionManager for Hibernate and save data fails forum.springsource.orgSep 16th, 2004, 03:08 AM #1 springdawn2003 View Profile View Forum Posts Private Message Junior Member Join Date Sep 2004 Posts 3 TransactionManager for Hibernate and save data fails The problem ... |
63. ACL, Hibernate and TransactionManager forum.springsource.orgWhile you are writing a DAO for Spring Security, this question is probably better for the Spring Data forums since it is pertaining to transaction management. You are likely to get ... |
64. TimerTask with @Transactional and Hibernate forum.springsource.orgTimerTask with @Transactional and Hibernate Hi, I have a problem using a TimerTask with my @Transactional annotated Services and Hibernate. My Spring Version: 3.0.3 Hibernate Version: 3.5.1 From my TimerTask I ... |
65. Spring + hibernate + transaction + unique constraint forum.springsource.orgSpring + hibernate + transaction + unique constraint Dear all, My problem is similar to what is referred in this thread : http://forum.springsource.org/showthread.php?t=27112 I use Hibernate + Spring Hibernate support + ... |
66. SI and JPA transactions forum.springsource.orgSI and JPA transactions Hello, We have the following problem. the pipeline is simple: gateway->transformer->splitter->service-activator we hit the gateway and pass our Roo generated objects. We then pass the Roo object ... |
67. Transaction does not roll back , spring + hibernate + derby forum.springsource.orgApr 18th, 2011, 01:03 AM #1 sendi_t34 View Profile View Forum Posts Private Message Junior Member Join Date Mar 2009 Posts 4 Transaction does not roll back , spring + hibernate ... |
68. Hibernate transaction configuration forum.springsource.orgHibernate transaction configuration Hi all, I am trying to configure spring 3.1 with hibernate and i want to use declarative transactions. Initially i was using hibernate 3.1.x, however, while executing @tractional ... |
69. Transaction Management with CXF and Hibernate forum.springsource.orgTransaction Management with CXF and Hibernate Dear All, Although I had used Spring before, I am not experienced in transaction management and I think I am having a challenging issue. For ... |
70. Basic Spring Transaction and Hibernate Question forum.springsource.orgBasic Spring Transaction and Hibernate Question Sorry if this is basic but I really want to understand this. I am using Spring 2.5.4 and Hibernate 3.2.6. Currently there is a service ... |
71. Transaction and rollback with Hibernate and Spring forum.springsource.orgTransaction and rollback with Hibernate and Spring Hi, I have two DAO Classes, one for Gestore and another for Credenziali. Gestore and Credenziali must be save both at same time. For ... |
72. Hibernate Transactions - Retrying Optimistic Locks forum.springsource.orgHibernate Transactions - Retrying Optimistic Locks Hello, I have been battling with optimistic locks in hibernate for the past couple of days and seem to be going round in circles. If ... |
73. Spring Hibernate transaction management forum.springsource.org |
74. [Spring / Hibernate] doInHibernate uses another transaction? forum.springsource.org[Spring / Hibernate] doInHibernate uses another transaction? Hi Guys, I'm about two days trying to know what is happening with my transaction on JUnit Test using doInHibernate. This is my code: ... |
75. @Transactional is not creating a transaction while using JPA (JTA Implementation) forum.springsource.org@Transactional is not creating a transaction while using JPA (JTA Implementation) Hello Guys, I see that JPA wont commt the data into DB if it is not part of a transaction. ... |
76. JPA(hibernate) and Spring Transaction forum.springsource.orgJPA(hibernate) and Spring Transaction I am using hibernate 3.6 (JPA interface) , Spring 3.0.3 , and the Spring JpaTransactionManager. Whenever I do a entityManager.find() I can see hibernate firing a SQL ... |
77. How to better control transaction management when using JPAItemWriter/Hibernate? forum.springsource.orgHow to better control transaction management when using JPAItemWriter/Hibernate? Hi, I'm using Spring Batch 2.1.1 with Hibernate 3.5.3 (via JPAItemWriter) and finding that whenever Hibernate hits a deadlock, Spring Batch then ... |
78. Jpa(Hibernate) JTA Glassfish forum.springsource.orgJpa(Hibernate) JTA Glassfish Hi, I am using Spring 3 JPA (Hibernate 3.6) Glassfish 3.1 I am currenty using JpaTransactionManager, I want to change it to JTA. But I couldnt ... |
79. help with configuring Spring + JPA + JTA forum.springsource.orghelp with configuring Spring + JPA + JTA Hello, I'm trying to configure Spring + JPA + JTA EntetyManager returing null What I'm doing wrong? Thanks, Kiril applicationContext.xml: Code: |
80. Hibernate transaction rollback with spring is not working right forum.springsource.orgHibernate transaction rollback with spring is not working right Spring 3.0.0 Hibernate 3 MySQL 5 JBoss 5 I have an app using Spring's hibernate transactions. I have an update that affects ... |
81. spring+hibernate+transaction HibernateSystemException forum.springsource.orgspring+hibernate+transaction HibernateSystemException 1) testCreateFullNode(com.xxx.dao.spring.hibernate.Em sEquipmentServiceImplTest)org.springframework.orm. hibernate.HibernateSystemException: a different object with the same identifier value was already associated with the session: 1102663343965, of class: com.xxx.bo.resource.Node; nested exception is net.sf.hibernate.NonUniqueObjectException: a different object ... |
82. spring+hibernate+transaction HibernateSystemException forum.springsource.org |
83. hibernate + postgres + aoptransaction - rollback failed forum.springsource.orghibernate + postgres + aoptransaction - rollback failed Hi, When inserting a record with unique index (on purpose), I encounter this in the log: 2004-12-15 23:49:44,331 DEBUG [TP-Processor2] (org.springframework.orm.hibernate.HibernateTransa ctionManager:483) - ... |
84. JTA, Hibernate and "unresolved LocalTransactionContainm forum.springsource.orgJan 14th, 2005, 11:32 AM #1 grunbaum View Profile View Forum Posts Private Message Junior Member Join Date Dec 2004 Posts 6 JTA, Hibernate and "unresolved LocalTransactionContainm Hello all, I have ... |
85. How to do optimistic locking in Spring + Hibernate? forum.springsource.orgHow to do optimistic locking in Spring + Hibernate? Hi, I am new to Spring and Hibernate. I find the very challenging thing in using Spring is configuration and settings. Currently ... |
86. Hibernate - Transaction Doesnot roll back forum.springsource.orgHibernate - Transaction Doesnot roll back Hi all, I saw all the threads related to transaction not rolling back, but could not relate anyone to my situation. Or so I think ... |
87. puzzle about transaction when using hibernate & spring j forum.springsource.orgpuzzle about transaction when using hibernate & spring j I am using 2 dao objects, one implemented using hibernate, and the other using spring jdbc dao support. so the data_access_context including: ... |
88. Can Spring control transactions at all when using Hibernate? forum.springsource.orgCan Spring control transactions at all when using Hibernate? When looking at previous threads, it seems to me that PROPAGATION_REQUIRES_NEW cannot be used with Hibernate, as Hibernate only supports one open ... |
89. what about transaction in spring + hibernate??? forum.springsource.orgwhen using spring + hibernate, spring offer getHibernateTemplate() like this public void createInstructor(Instructor instructor) { getHibernateTemplate().save(instructor); } i really want to know this. in hibernate, wher transaction is commited ,data is ... |
90. How to rollback Hibernate txn using Spring? forum.springsource.orgHow to rollback Hibernate txn using Spring? Hi guys, I hereby apologize if it's unappropriate to ask this question here. I'm using JSF + Spring + Hibernate. For example, when u ... |
91. spring + hibernate (+ clob) transaction sychronization forum.springsource.orgspring + hibernate (+ clob) transaction sychronization I am using spring 1.1.2 , hibernate 2.1. and oracle 9i. I am using clobs. When trying to access records in the db I ... |
92. Q. about a Hibernate article and TransactionProxyFactoryBean forum.springsource.orgI cookbook quite a bit from Hibernate's "Data Access with the Spring Framework" article ( http://www.hibernate.org/110.html ) Tonight I was working on adding transaction management to a service class and was ... |
93. Spring Hibernate transaction rollback not working right forum.springsource.orgSpring Hibernate transaction rollback not working right Spring 1.2.2 Hibernate 3.0.5 SQL Server 7, jTDS 1.0.3 JBoss 4.0.2 I have an app using Spring's declarative transactions, delegating to HibernateTransactionManager, which is ... |
94. Spring Hibernate transaction rollback not working right forum.springsource.orgSpring Hibernate transaction rollback not working right Spring 1.2.2 Hibernate 3.0.5 SQL Server 7, jTDS 1.0.3 JBoss 4.0.2 I have an app using Spring's declarative transactions, delegating to HibernateTransactionManager, which is ... |
95. Where to put version for Hibernate's optimistic locking? forum.springsource.orgHello, where do you store the version counter in your forms to use Hibernate's optimistic locking feature? Do you add another hidden field to you forms? Somehow I've a bad fealing ... |
96. Spring/Hibernate transaction not working properly forum.springsource.orgSpring/Hibernate transaction not working properly Hi, I'm getting some strange behaviour in a transactional method with Spring (1.1.5) and Hibernate (2.1). I'm not sure if this is a Spring problem or ... |
97. Spring Transaction Management or Hibernate Transactions? forum.springsource.orgHello. I'm developing a web app using Spring MVC + Spring IoC + Hibernate. Should I use Hibernate's Transaction directly (i.e. beginTransaction and commit) or use Spring's Transaction Management? Is one ... |
98. [URGENT!!!] Hibernate + Spring + JTA forum.springsource.orgAug 3rd, 2005, 02:17 AM #1 brunotg View Profile View Forum Posts Private Message Junior Member Join Date Aug 2005 Posts 6 [URGENT!!!] Hibernate + Spring + JTA Hi you all. ... |
99. TransactionManager and hibernate forum.springsource.orgTransactionManager and hibernate Hello, I've been investigating using spring declarative transactions with hibernate. Right now we're using the hibernate threadlocal design pattern with an in house filter that handles closing of ... |
100. Hibernate Transactions forum.springsource.orgHibernate Transactions Hello, I've been investigating using spring's transaction annotations with hibernate. Right now we're using the hibernate threadlocal design pattern with an in house filter that handles closing hibernate sessions ... |