JPA 1 « Transaction « Spring Q&A





1. How can I chop down a transaction in Spring with JPA?    stackoverflow.com

I have this code:

run big query: Select all unprocessed objects from table A
for each result
    create or update an output object in table B
    update ...

2. Spring user transaction with hibernate    stackoverflow.com

I 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.com

I'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

  1. Which is a better transaction manager? ...

4. JPA and Spring transactions - please explain    stackoverflow.com

today 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.com

new 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.com

I'm trying to get my spring DAOs to work but I only get this exception

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sessionFactory' threw exception; nested exception is org.hibernate.HibernateException: No Hibernate Session bound to thread, ...

7. jpa @version optimistic locking    stackoverflow.com

I 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.com

I 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.com

Following 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.com

I'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.com

I was hoping someone could confirm my understanding of transaction behaviour in a Spring service. Firstly, am I correct in believing that When using TransactionManager, all services which result in persistence to ...

12. Spring @Transactional not creating required transaction    stackoverflow.com

Ok, 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.com

We (will) have the following architecture:

  • Base.war will be a self-contained spring-hibernate application
  • All applications will run under Glassfish, and may be clustered
  • E1.war will sit on top of Base.war, extending it's functionality
  • There could ...

14. Using Spring defined transactionManager in JPA/Hibernate    stackoverflow.com

Suppose 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 hibernate.transaction.manager_lookup_class ...

15. Spring + Hibernate transaction takes 25 seconds doing nothing    stackoverflow.com

I 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.com

i wrote this simple example:

//file TestController.java
public interface TestController {

    public List<Test> findAll();

}

//file TestControllerImp.java
@Controller
public class TestControllerImp implements TestController{

    @Autowired
    private SessionFactory sessionFactory;

  ...





17. The chosen transaction strategy requires access to the JTA TransactionManager or Unable to build EntityManagerFactory    stackoverflow.com

I 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.com

I'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.com

I'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.com

Hi 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.com

I have two Databases , with two sets of spring configurations : The lower level is CORE db , the upper level is APP db . Each db has its persistenceUnit , ...

22. OptimisticLockException in inner transaction ruins outer transaction    stackoverflow.com

I have the following code (OLE = OptimisticLockException)...

public void outer() {

  try {
    middle()
  } catch (OLE) {
    updateEntities();
    outer();
 ...

23. Spring and Hibernate transactions    stackoverflow.com

I 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.com

Im having a problem with some spring + hibernate stuff.

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans 
       http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.springframework.org/schema/aop 
  ...

25. Benefits of using Springs Transaction management vs using hibernate    stackoverflow.com

I'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.com

I've a problem with the annotation @Transactional. I've a method doing some stuff, and inside I throw and catch an IllegalArgumentException. I think ( even if i've caught the exception ) that ...

27. understanding JTA Spring and Bitronix    stackoverflow.com

I 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.com

I need somebody's help to implement correctly the following scenario:

  • The application starts the transaction, which is associated with new Hibernate session S1 to read items using the Hibernate's ScrollableResults.
  • The application reads ...

29. Hibernate txProxyTemplate and declaring transactions    stackoverflow.com

I have a bean that extends this txProxyTemplate and inside it, this method orderUpdateOverseer calls getHibernateTemplate().saveOrUpdate(someObject);

private void orderUpdateOverseer(OrderReturnState orderReturnState) throws ReturnsOrderUpdateException
I noticed that hibernate flushes the updates to the database only ...

30. Spring transactions and JPA    stackoverflow.com

My 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.com

I 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.com

Upgrading 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.com

I 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.com

I 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.com

At first the applicationContext.xml is:

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
   ...

36. Spring , Transactions , Hibernate Filters    stackoverflow.com

I 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.com

Here is the code: // Hibernate model

@Entity
@Table(name="contact")
public class Contact {
@Id
@GeneratedValue(strategy= GenerationType.AUTO)
@Column(name = "contact_id")
private Long id;

@Column(name="contact_ref_id")
private String contactRefId;

@Column(name="first_name")
private String firstName;

@Column(name="last_name")
private String lastName;

@ManyToOne
@JoinColumn(name="app_user_id")
/** user whose contact list owns this contact */
private AppUser appUser;

public Long ...

38. The transaction with Spring e Jpa    stackoverflow.com

i 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.com

We 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.com

As 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.com

I am using Hibernate 3.6.6 with Sping 3.0.4 After adding

@org.hibernate.annotations.Entity(optimisticLock=OptimisticLockType.ALL, dynamicUpdate=true) 
to my bean and running following testcase
SSNConceptDAO conceptDao = (SSNConceptDAO)Context.getBean("conceptDAO");
SSNConcept ssnConcept = conceptDao.findById(9000000612l);
ssnConcept.setEditornote("Editor Note at "+System.currentTimeMillis());
conceptDao.update(ssnConcept);
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:
2011-08-24 11:45:49,181 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - Retrieved value [org.springframework.jdbc.datasource.ConnectionHolder@2fa35f] for key [org.apache.commons.dbcp.BasicDataSource@1cb06dd] bound to thread [http-8080-Processor23]
is this normal? or something ...

43. Cannot get @Transactional to work properly in Spring 3    stackoverflow.com

UPDATE: 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.com

I am facing a problem with Spring Transaction management. I am using hibernate as ORM framework. And below is my spring for transaction management.

  <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
    ...

45. What's the link between @Transactional and cascading?    stackoverflow.com

There 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.com

Hi 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.com

I 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.com

If a class is marked as @Transactional, does that mean that the boilerplate:

Transaction tx = session.getTransaction();

  try {
   ...
   ...
   ...
   tx.commit();


 ...

49. Inner transaction changes not visible to outer transaction    stackoverflow.com

I'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.com

When I run my unit tests in isolation they work fine ie. (omitted the asserts)

@Test
public void testSave()
 {
EntityManagerHelper emh = new EntityManagerHelper();
LevelDAO dao = new LevelDAO();
Level l = new Level();
l.setName("aname");
emh.beginTransaction();
dao.save(l);
emh.commit();
}
then running ...

51. Do I need to explicitly save a modified domain object within a spring transaction?    stackoverflow.com

If I have a transaction as follows where my domain object is mapped as Cascade.ALL using Hibernate:

@Transactional
public void transactionAllMethod(Domain domain) {
     domain.addItemToCollection(new Item);
     ...

52. Spring/Hibernate Truncate/Delete all rows from a table - Transaction issues    stackoverflow.com

I 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.com

Having the following code:

@Transactional // Spring annotation
public void doStuffWithPayments(...) {
  List payments = getCurrentSession().createQuery("select distinct p from Payment p .....")
      .setLockMode("p", LockMode.UPGRADE)
    ...

54. Spring 3 Transaction support    stackoverflow.com

Hi 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.com

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 two tables, and if there is an exception on the second update, the ...

56. Persistence failed with Hibernate/JPA transactional    forum.springsource.org

Jan 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.org

Pessimistic 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.org

Please help, spring + hibernate transaction not rollback Spring Configuration Code:

59. Please help, spring + hibernate transaction not rollback    forum.springsource.org

Please help, spring + hibernate transaction not rollback Spring Configuration Code: ...

60. Spring Transaction Management+JPA+Hibernate    forum.springsource.org

Spring 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.org

A 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.org

Sep 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.org

While 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.org

TimerTask 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.org

Spring + 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.org

SI 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.org

Apr 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.org

Hibernate 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.org

Transaction 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.org

Basic 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.org

Transaction 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.org

Hibernate 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.org

JPA(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.org

How 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.org

Jpa(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.org

help 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.org

Hibernate 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.org

spring+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 ...

83. hibernate + postgres + aoptransaction - rollback failed    forum.springsource.org

hibernate + 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.org

Jan 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.org

How 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.org

Hibernate - 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.org

puzzle 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.org

Can 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.org

when 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.org

How 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.org

spring + 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.org

I 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.org

Spring 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.org

Spring 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.org

Hello, 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.org

Spring/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.org

Hello. 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.org

Aug 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.org

TransactionManager 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.org

Hibernate 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 ...