File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Transactional Concurrency Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Transactional Concurrency" Watch "Transactional Concurrency" New topic
Author

Transactional Concurrency

srikrishna palaparthi
Greenhorn

Joined: Sep 04, 2007
Posts: 1
Hi,
I am working on Spring -hibernate and unable to resolve concurrency in my web application.
Basically while i try to upload files in 2 sessions i am getting the error
org.springframework.transaction.IllegalTransactionStateException: Pre-bound JDBC Connection found - HibernateTransactionManager does not support running within DataSourceTransactionManager if told to manage the DataSource itself. It is recommended to use a single HibernateTransactionManager for all transactions on a single DataSource, no matter whether


My program basically invokes the database updates through hibernate using hibernate transactions.therefore when i am trying to concurrently upload more than one file there seems to be conflict with the transaction management.

Can any one please help.

Regards
Srikrishna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transactional Concurrency