1. Transactions not working with Spring 1.2.2/Hibernate3 forum.springsource.orgAug 24th, 2005, 08:13 PM #1 dlockhart View Profile View Forum Posts Private Message Junior Member Join Date Aug 2005 Posts 3 Transactions not working with Spring 1.2.2/Hibernate3 I am trying ... |
2. Spring, Hibernate and transaction.rollback() forum.springsource.orgHi, I am using spring with hibernate. From a controller's method, is there possibility to roolback the current transaction ? For example, if a test does not work into the controller. ... |
3. Is JTA required with Hibernate? forum.springsource.orgIf I have a single database, is it required that I have jta.jar in my classpath to use spring+hibernate3? I don't need to use JTA if I am just accessing one ... |
4. hibernate 3.1 and transactions forum.springsource.orghibernate 3.1 and transactions Hello, I've been doing some testing with hibernate 3.1 b3 and I'm getting an error with an explicit commit that I wasn't getting with hibernate 3.0.5. Is ... |
5. Spring - Hibernate CLOB/Transaction Issues forum.springsource.orgNov 11th, 2005, 03:31 PM #1 matte View Profile View Forum Posts Private Message Junior Member Join Date Nov 2005 Posts 3 Spring - Hibernate CLOB/Transaction Issues Hello, I have been ... |
6. Hibernate transaction not rolled back forum.springsource.orgHibernate transaction not rolled back Hi, I'm having a problem with a hibernate transaction not rolling back. Sometimes I get an Oracle exception when one of my merchant objects contains a ... |
7. Hibernate Transaction forum.springsource.orgHibernate Transaction Hello experts I have a question about transaction management . I am using HIbernateTemplate to access Hibernate . I do understand that If I am using cache , then ... |
8. Hibernate transaction events in Spring forum.springsource.orgHibernate transaction events in Spring Hi, I am implementing an event queue for the Hibernate event system for my application. I want to delay the dispatching of events to a point ... |
9. Configure transaction managment in Spring or Hibernate? forum.springsource.orgConfigure transaction managment in Spring or Hibernate? I have an abstract base DAO that uses HibernateTemplates for data access. I'm a little confused as to where I should be configuring transaction ... |
10. Hibernate Template and Long Transactions forum.springsource.orgHibernate Template and Long Transactions Hi all. I've read a bunch about long (or application) transactions in Hibernate. I understand how to do this but am a bit confused when Spring ... |
11. Help me come along with transactions, hibernate forum.springsource.orgHelp me come along with transactions, hibernate I have problem understandning how I should use the transaction support when working with my beans, can someone help me explain a bit more? ... |
12. Legacy Code and Spring/Hibernate within a transaction forum.springsource.orgLegacy Code and Spring/Hibernate within a transaction This has been discussed few times in the forum. Yet I dare to post a query on using plain JDBC and Hibernate/Spring together in ... |
13. Hibernate transactions forum.springsource.orgMar 7th, 2006, 01:15 PM #1 Salomo View Profile View Forum Posts Private Message Visit Homepage Junior Member Join Date Mar 2006 Posts 1 Hibernate transactions I'm getting the following exception ... |
14. Hibernate Transaction Guidance forum.springsource.orgHibernate Transaction Guidance Hi I was wondering if someone could help me out on where to start. I have a simple stock trading system to write for school. I have web ... |
15. hibernate optimistic locking doesn't work if you set version manually forum.springsource.orghibernate optimistic locking doesn't work if you set version manually I am working on a client/server app with a rich client. I have to deal with concurrent data access and am ... |
16. Hibernate transactions forum.springsource.orgApr 18th, 2006, 02:41 AM #1 uiterlix View Profile View Forum Posts Private Message Junior Member Join Date Apr 2006 Posts 5 Hibernate transactions do not seem to rollback Hi, I'm ... |
17. Spring + JPA + JTA forum.springsource.orgSpring + JPA + JTA Hi I've been browsing through the Spring 2.0 RC1 documentation but haven't found any information about this, so I'm hoping that some of you might be ... |
18. Transaction strategy for transactions covering more than Hibernate forum.springsource.orgTransaction strategy for transactions covering more than Hibernate Hi. I am facing the following problem and would like som feedback on my suggested solution, does it work, or is there a ... |
19. Non-transactional use of Spring+Hibernate forum.springsource.orgNon-transactional use of Spring+Hibernate Spring 1.2.8 Hibernate 3.1.3 We have a "batch process" that is non-transactional. It gets a bunch of Hibernate persistent objects, one by one. For each, it gets ... |
20. Spring, Hibernate and transactions that fail to roll back when expected forum.springsource.orgSpring, Hibernate and transactions that fail to roll back when expected Hi. I am having problems getting transactions to work. I'm trying to do this: 1) load a certain User from ... |
21. Spring + Hibernate3 + jpa + jta forum.springsource.orgSpring + Hibernate3 + jpa + jta I am trying to set up and application using spring, hibernate and jpa with an application managed entitymanager. Everything is fine so long as ... |
22. Transaction - Hibernate forum.springsource.orgAug 16th, 2006, 01:31 PM #1 maurojeff View Profile View Forum Posts Private Message Junior Member Join Date Aug 2006 Posts 4 Transaction - Hibernate hi All, I'm using Spring 1.2.8; ... |
23. Hibernate programmatic transaction management forum.springsource.orgHi, Is it possible to create hibernate session, create some objects and save it with session, having only org.springframework.transaction.jta.JtaTransaction Manager and org.springframework.orm.hibernate3.LocalSessionFac toryBean? Where can I find example how to bind ... |
24. Spring2+JPA "no transaction in progress" error forum.springsource.orgSpring2+JPA "no transaction in progress" error I have been testing Spring2 and JPA for past few days, and retrieving information from database seems working but when I try to persist an ... |
25. Spring Transaction Rollback and Hibernate setAlwaysUseNewSession forum.springsource.orgSpring Transaction Rollback and Hibernate setAlwaysUseNewSession Hi I'm a bit of a newbie to all of this. I've got a scenario where I'm creating a Hibernate template within a Spring transaction. ... |
26. hibernate + transaction behavior forum.springsource.orghibernate + transaction behavior hi there, i've got a strange transaction behavior using spring 1.2.6 and hibernate 3.1. the simple method shown below gets a customer object (via hibernate out of ... |
27. Hibernate doesn't save objects, also with TransactionManager. forum.springsource.orgOct 15th, 2006, 02:46 PM #1 dino.lupo View Profile View Forum Posts Private Message Junior Member Join Date Oct 2006 Posts 4 Hibernate doesn't save objects, also with TransactionManager. I'm trying ... |
28. How to use Hibernate transactions with tx:advice ? forum.springsource.orgHow to use Hibernate transactions with tx:advice ? Hello, I'm trying to use the new way to handle hibernate's transactions with tx:advice. I have a simple DAO (bookDAO) and a test ... |
29. Hibernate TransactionProxyFactoryBean forum.springsource.orgHibernate TransactionProxyFactoryBean Hi, I'm using Spring's TransactionProxyFactoryBean to manage a Hibernate DAO in the manner suggested in the reference documentation: Code: |
30. hibernate transaction suspension forum.springsource.orghibernate transaction suspension I'm getting an exception suspending a transaction using hibernate3 as my ORM framework and spring 1.2.8. My the execution path goes through three methods annotated with the org.springframework.transaction.annotation.Transac ... |
31. JTA + Hibernate + Spring : Error forum.springsource.orgJTA + Hibernate + Spring : Error Hi, I am using, Jboss 4.0.4, Hibernate 3, Spring 2.0, Java 1.5. I had a exception when I tried to save an object that ... |
32. Wls + Jpa + Jta forum.springsource.orgHi. Is anyone using WLS with JPA Entitymanager and JTA? Is it possible? If so, could you please post your spring configuration + persistence.xml etc? Thanks, /Magnus |
33. How can I configure JTA in JPA forum.springsource.org |
34. Programmatic transaction management with hibernate /Spring forum.springsource.orgProgrammatic transaction management with hibernate /Spring hi all here is the code for transaction handlling public class PersistenceManagerImpl implements PersistenceManager { private CustomerRateDAO customerRateDAO; private PlatformTransactionManager transactionManager; public void setTransactionManager(PlatformTransactionManager transactionManager) ... |
35. Hibernate transaction not rolling back forum.springsource.orgHibernate transaction not rolling back Hi, I'm playing with Spring's transaction manager, programming the transaction rather than using delaritive management. I have a MySQL table, a HibernateDAO, which uses the HibernateTemplate, ... |
36. Double transaction counts in Hibernate statistics forum.springsource.orgWhen I run a test case that extends AbstractTransactionalDataSourceSpringContextTests I see a transaction count in the Hibernate statistics which is twice the number of the actual test methods in the test ... |
37. Hibernate Transaction not rolling back forum.springsource.orgJan 3rd, 2007, 05:54 PM #1 karurk View Profile View Forum Posts Private Message Junior Member Join Date Jan 2007 Posts 6 Hibernate Transaction not rolling back I use the following ... |
38. Hibernate and JTA unable to lock row (select for update) forum.springsource.orgHibernate and JTA unable to lock row (select for update) Spring Version: 1.2.8 Hibernate version: 3.1.3 Database: PostgreSQL 8.1 / EnterpriseDB 8.1 Currently I have a object that needs to be ... |
39. spring transaction and hibernate integration error forum.springsource.orgJan 8th, 2007, 06:22 PM #1 LukeAlford View Profile View Forum Posts Private Message Junior Member Join Date Jan 2007 Posts 2 spring transaction and hibernate integration error Hello. I have ... |
40. Rollback rules in Hibernate forum.springsource.orgRollback rules in Hibernate Hi, I'm writing my integration test for a transaction with Hibernate. My transaction is declared like this: PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-ConstraintViolationException and it consists of a simple method: // Start ... |
41. Transaction Error with JPA + PROPAGATE_REQUIRES_NEW forum.springsource.orgTransaction Error with JPA + PROPAGATE_REQUIRES_NEW Hi all, We're using the JPA (implemented by Kodo) with Spring 2.0.1. We're trying to setup declarative transaction management and we've run into a problem ... |
42. @Transactional for hibernate forum.springsource.org@Transactional for hibernate Hi, I would like use in my hibernateDaoImpl @transactional annotation... I defined this: Code: |
43. Managing transactions in spring using hibernate forum.springsource.orgManaging transactions in spring using hibernate HI All, I am trying to use annotation to manage transactions. In my code I am purposely throwing an exception to verify if it gets ... |
44. Transaction Rollback But Not Hibernate forum.springsource.orgApr 16th, 2007, 03:27 PM #1 pcheung View Profile View Forum Posts Private Message Junior Member Join Date Mar 2005 Location Toronto, Canada Posts 6 Transaction Rollback But Not Hibernate I ... |
45. Spring / hibernate programmatic Transaction forum.springsource.orgSpring / hibernate programmatic Transaction Hi all, I have a little question on Transactions... I try to use Transactions in my Portlet... since I don't need so much transactions I decided ... |
46. Hibernate Transaction question forum.springsource.orgHibernate Transaction question hello to all. i'm using spring 2.0.5 and hibernate 3.2.4sp1 with hibernate annotatation 3.3.0 and hibernate validator 3.0.0 i'm using spring's @Transactional for my transaction needs on a ... |
47. jpa & hibernate lock() forum.springsource.orgjpa & hibernate lock() Hi, i'd like to know if the pessimistic locking in hibernate works the same as with the entity manager in jpa. F.Example in hibernate Session.lock() in jpa ... |
48. Hibernate Lock with Criteria forum.springsource.orgHi. I have a question. I'm relatively new to Hibernate and Spring, so maybe I'm missing something. When I do something like this inside a Transaction with HibernateTemplate: Code: MyClass obj=(MyClass)hibernateTemplate.get(MyClass.class,pk) ... |
49. Need help with versioning on optimistic locking mechanism of Hibernate forum.springsource.orgThe version no. of the persistence object will be automatically incremented in optimistic locking mechanism of Hibernate. But the version column is fixed length integer or long, so what is the ... |
50. Spring JPA transaction management forum.springsource.orgSpring JPA transaction management hi, im using JPA + Spring2 on my project ServiceImpl are anotated with @Transactional, and an EntityManager annotated as the @PersistenceContext, but my problem is, is there ... |
51. pessimistic locking hibernate jpa forum.springsource.orgpessimistic locking hibernate jpa Hi, i'm working with hibernate and jpa, and need to implement pessimistic locking in my application. Googleing i found that hibernate doesn't have a hint to use ... |
52. Optimistic locking with Hibernate forum.springsource.orgOptimistic locking with Hibernate Hi I am currently stuck on this Optimisitc locking feature provided by hibernate which doesn't seem to work for me. I have a Domain Object ( DO ... |
53. Using Hibernate EntityInterceptor with TransactionProxyFactoryBean forum.springsource.orgAug 2nd, 2007, 05:02 AM #1 koalalam View Profile View Forum Posts Private Message Member Join Date Sep 2005 Location Hong Kong, China Posts 33 Using Hibernate EntityInterceptor with TransactionProxyFactoryBean Hi, ... |
54. Spring, Hibernate and transactions forum.springsource.orgSpring, Hibernate and transactions I'm using Spring+Hibernate (but no web). I'm having a problem making a certain method transactional. I have the following situation: @Transactional public void a() { b(); // ... |
55. XA Transactions and Hibernate forum.springsource.orgXA Transactions and Hibernate We have a scenario in which we need to use two flavors of Hibernate Session Factories. One XA Enabled, and other Regular. The issue is that, how ... |
56. GenericDAO, Hibernate3, @Transactional forum.springsource.orgI'm using the GenericDAO pattern per Hibernate's website, along with hibernate3.HibernateTransactionManager, hibernate3.annotation.AnnotationSessionFactoryBean , |
57. Hibernate + Transaction Mgt. forum.springsource.orgHibernate + Transaction Mgt. Hi All, I am new to Spring and I read Spring in Action and implemented Transactions in our project but some how my code is not wrapped ... |
58. Spring,JPA,Hibernate Transactions not working forum.springsource.orgSpring,JPA,Hibernate Transactions not working I'm trying to use Spring and JPA with Hibernate as the JPA provider. I wrap my service method in a transaction but a transaction never gets started. ... |
59. Unable to declare transaction in Spring/JPA forum.springsource.orgIt appears that if a service class does implement ANY interface the attempts to execute this service with the transactional declarations will fails with the ClassCastException, e.g. Proxy is casted to ... |
60. transactions on hibernate mapped objects forum.springsource.orgtransactions on hibernate mapped objects Welcome Can anyone tell me how to enable spring to support transactions on objects retrived from hibernate? I'd like to bo able to do: Foo foo ... |
61. Beginner needs help with JPA + Transactions forum.springsource.orgBeginner needs help with JPA + Transactions Hello, I am new to spring and jpa and I cannot get the spring @Transactional annotation to work. My environment is as follows: -Tomcat ... |
62. Has anybody implemented Spring-Hibernate Transaction in RCP> forum.springsource.orgHas anybody implemented Spring-Hibernate Transaction in RCP> Hello, I am unsuccessfull in implementing Hibernate Transaction when loading/modifying the data from a data store. I get No Hibernate Session bound to thread. ... |
63. How to use declaretive transaction with JPA? forum.springsource.orgHow to use declaretive transaction with JPA? Hello everyone, I have serveral problems encountered when using JPA.my web container is tomcat, and I want to use declaretive transation. I wonder if ... |
64. Hibernate lock on a record forum.springsource.orgI'm using Oracle and I configured the transactionmanager as the following: |
65. JPA (Hibernate) + JTA (in JOnAS) forum.springsource.orgDec 17th, 2007, 08:10 AM #1 ephemeris.lappis View Profile View Forum Posts Private Message Junior Member Join Date Mar 2007 Posts 8 JPA (Hibernate) + JTA (in JOnAS) Hello. A first ... |
66. How and When to do Transactions with Hibernate/JPA? forum.springsource.orgHow and When to do Transactions with Hibernate/JPA? I've been google searching and finally fixed my problem by adding a transaction. I noticed a sample app at http://forum.springframework.org/showthread.php?t=29761 that did not ... |
67. Advice for transaction management with Spring and Hibernate on WAS 6? forum.springsource.orgAdvice for transaction management with Spring and Hibernate on WAS 6? I'm developing a web application that runs on Websphere 6.0 and uses Spring for several things including declarative transaction management ... |
68. Spring2.5 Hibernate Transaction Q forum.springsource.orgSpring2.5 Hibernate Transaction Q(Changes New) Today ,i hava just got the newest spring 2.5 and then i want to test its new transaction declare. I use the spring 1 style to ... |
69. Can I use JPA without Transaction support? forum.springsource.orgCan I use JPA without Transaction support? Hi there, I got this question because I tried to remove the transaction manager part of my code, and then my entities were not ... |
70. JpaDialect.prepareTransaction never called for JTA configured Spring-JPA forum.springsource.orgJpaDialect.prepareTransaction never called for JTA configured Spring-JPA I have a project where I am using an embedded JTA provider and a LocalContainerEntityManagerFactoryBean configured with a HibernateJpaVendorAdapter. I noticed that prepareTransaction was ... |
71. plain Hibernate 3 API and transaction advice forum.springsource.orgTransaction not successfully started I've a system that use a plain Hibernate 3 API (like found in Spring documentation: Implementing DAOs based on plain Hibernate 3 API) to allow Spring to ... |
72. Hibernate not recognizing transaction config forum.springsource.orgHibernate not recognizing transaction config I've probably got a dumb error in my config file, but cannot see it. Can someone help me find it? I've got a simple test project ... |
73. Hibernate 3 Transactions forum.springsource.orgCan someone please be so kind as to post a complete source example on how to handle transaction rollbacks programmatically? i.e. transaction.rollback(); I really appreciate it... I haven't been able to ... |
74. Error with JPA and JTA forum.springsource.orgApr 21st, 2008, 02:24 PM #1 fsimard View Profile View Forum Posts Private Message Junior Member Join Date Jun 2007 Posts 13 Error with JPA and JTA I am trying to ... |
75. More complicated transactions in JPA? forum.springsource.orgI've got a simple Spring/Hibernate+JPA app working, using the @Transactional annotation on the service interface. I assume that this tag makes each method an individual transaction -- is this correct? If ... |
76. Transaction does not rollback in Spring and Hibernate forum.springsource.org |
77. Spring Transactions and Hibernate Criteria forum.springsource.orgSpring Transactions and Hibernate Criteria Hi All, I'm a Hibernate newbie and am having a problem using the Criteria API with Spring Transactions. I'm using Spring 2.5 and Hibernate 3.2.4. Transactions ... |
78. Hibernate with JTA forum.springsource.orgHibernate with JTA I'm using Spring 2.5 with Hibernate 3.2. My transaction manager is Bitronix and is configured within the application and not through JNDI. I've defined my JtaTransactionManager as follows: ... |
79. Spring Transaction API- Hibernate and OracleOCIConnectionPool forum.springsource.orgSpring Transaction API- Hibernate and OracleOCIConnectionPool I am attempting to setup a transaction manager to work in concert with Hibernate and OracleOCIConnectionPool. Now when I do the following with a pool ... |
80. SPring + Hibernate/JPA + JTA example? forum.springsource.orgSPring + Hibernate/JPA + JTA example? I've spent a week now and still haven't got Spring + Hibernate/JPA + JTA working. Using the forums I've come pretty close, currently I'm using ... |
81. 2 Hibernate SF, 1 Transaction Mgr....possible? forum.springsource.orgThanks. It turns out I can now run each SF with its own Tx Mgr but I'm having problems. I've configured 2 SessionFactory(s) and 2 HibernateTransactionManager(s) but because they extend PlatformTransactionManager ... |
82. Programmatic transaction with Disconnected Hibernate Object forum.springsource.orgProgrammatic transaction with Disconnected Hibernate Object I am using Hibernate through the use of the Spring HibernateTemplate within a java web service. My web service uses spring transactions programmatically through the ... |
83. JPA + JTA configuration forum.springsource.orgcan you please put your persistence and application-context files on this thread? i am getting cannot create exception while using oc4j, spring, struts 1.3 and toplink jpa Thanks |
84. Spring + Hibernate: Is it possible to set a transaction name? forum.springsource.orgSpring + Hibernate: Is it possible to set a transaction name? I'm using Spring+hibernate, and Sybase. I'm wondering if it's possible to assign a name to a db transaction, when using ... |
85. Transaction Handling with Hibernate forum.springsource.orgHi I am very new to Spring and hibernate. I developed a simple program which just inserts a simple record. I just used - getHibernateTemplate().save(employee); I have not defined anywhere set ... |
86. transactions and hibernate template forum.springsource.orgtransactions and hibernate template Hi!! I have a problem with the transaction between Hibernate and Spring and HibernateTemplate. According to javadoc I understand that transactions are automatics in method execute, find, ... |
87. Hibernate rollback not working forum.springsource.orgSep 3rd, 2008, 07:55 PM #1 ad-rocha View Profile View Forum Posts Private Message Junior Member Join Date Sep 2008 Posts 26 Hibernate rollback not working Hi all, I'm facing a ... |
88. 1.2->2.5 migration: Hibernate Transactions forum.springsource.org1.2->2.5 migration: Hibernate Transactions I spent 14 hours today at work and couldn't solve this problem. If anyone can provide assistance, please help. I am converting a project with about 700 ... |
89. Jpa -> Jta forum.springsource.orgJpa -> Jta I am using eclipse to create a web app in a Struct 2 + Spring 2 +JPA structure. With JPA, it works fine until I tried to convert ... |
90. WAS6.1 Spring JTA JPA/Hibernate config. More forum.springsource.orgHi, Following my last message. if I use org.springframework.orm.jpa.JpaTransactionManager with the same configuration file as before, it WORKS ! I created an XA datasource and retry with org.springframework.transaction.jta.WebSphereUowTr ansactionManager, it DOES ... |
91. Transactions with Spring+Hibernate forum.springsource.orgTransactions with Spring+Hibernate Hi, I originally declared an Hibernate3 sessionFactory with the following configuration: Code: <...etc.> |
92. @PesistenceContext with multiple JPA+JTA persistence units forum.springsource.org@PesistenceContext with multiple JPA+JTA persistence units Hi, I have spent all day reading forums, blogs and documentation on this topic without any luck. What I want to do is: - I ... |
93. Hibernate TransactionManager with BasicDataSource hanging indefinetly forum.springsource.orgHibernate TransactionManager with BasicDataSource hanging indefinetly We are trying to use a HibernateTransactionManager to manage our transactions. Here is what i have in my code for transactions to apply. Code: |
94. org.hibernate.AssertionFailure: Transaction MARKED_FOR_JOINED after isOpen() call forum.springsource.orgorg.hibernate.AssertionFailure: Transaction MARKED_FOR_JOINED after isOpen() call Hi, I am getting exception while invoking entityManager.find. Any suggestions on this? |
95. disconnecting jpa entities when transaction ends forum.springsource.orgHi all, I use spring + hibernate + jpa in a web application. My problem is that entities don't get disconnected when transaction ends. I don't use jpa template. Is there ... |
96. spring/hibernate - TransactionProxyFactoryBean is not working forum.springsource.orgspring/hibernate - TransactionProxyFactoryBean is not working We are currently on websphere 6.0.2.19. Our setup if like this spring 2.5 + hibernate 3. Following is the setup we are trying to use ... |
97. Issue in handling the transaction management- spring -hibernate forum.springsource.orgIssue in handling the transaction management- spring -hibernate Hi, I'm facing the problem in handling transaction management I have a method onCall which is called from controller and onCall method calls ... |
98. Spring - JPA Hibernate Integration: " no transaction is in progress" forum.springsource.orgSpring - JPA Hibernate Integration: " no transaction is in progress" I am trying to integrate JPA with Spring. I am not able to persist anything into the database as it ... |
99. Hibernate, transactions and cglib forum.springsource.orgHibernate, transactions and cglib In my application i use Hibernate and Spring declarative transaction management. When i activate transactions Hibernate uses cglib which causes LazyInitializationException when i access simple properties (no ... |
100. Help on @Transactional (Spring 2.5.5 + Hibernate 3.2.6) forum.springsource.orgHelp on @Transactional (Spring 2.5.5 + Hibernate 3.2.6) Folks, I am having problem in making @Transactional, please suggest where i'm doing wrong. All my objects are using annotations. snippet from applicationContext.xml ... |