transaction 2 « Transaction « JPA Q&A





1. Operation priorities inside Hibernate Transaction    forum.hibernate.org

Hibernate version:2.1.8 Exception: net.sf.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update Database: MySQL 4 I have a problem that could be solved if I could give a certain priority to each operation executed during the Batch Update when commiting the transacton. The problem is that certain table rows have to be deleted before inserting new ones due to foreign key restrictions. Both ...

2. Hibernate not working in a bean managed transaction env.    forum.hibernate.org

Hi, I'm having trouble using Hibernate 3 with bean managed transactions (BMT). I have currently adopted a thread local approach to transaction management, but I would prefer to use the global transaction provided by my J2EE container (Websphere version 5.1). Also, as an FYI, my database is DB2, version 8.1 In my hibernate config file, I have the following items:

3. Hibernate with WAS6.0 - Transaction management    forum.hibernate.org

Hello, Could someone give a reference to usage of Hibernate with Rational Application Developer (WAS 6.0). Database: Oracle 9i. Requirement: To use Container managed transaction. Sample scenario: Session bean has two methods SessionBeanMethodA and SessionBeanMethodB. SessionBeanMethodA calls a Business Object method (let us say, BOMethodA). BOMethodA calls DAOMethodA. Similarly from SessionBeanMethodB --> BOMethodB --> DAOMethodB. If transaction A succeeds and B ...

4. Understanding transaction management    forum.hibernate.org

Hi all, I've read the documentation (thoroughly) but I'm unsure about my understanding of the transaction management. I would like to inform the user if another user is currently editing a register (it's a contact center application) avoiding the "last commit wins" approach. I would like Hibernate to handle as much work as possible (no app version checking) throwing an exception ...

5. I am having Issues with commiting the transaction    forum.hibernate.org

Hi, I m doing like this. Please let me know where i am going wrong. I am trying to insert one row under Hibernate Transaction. Step 1: i have inserted one row using session.save(myObj) and it saved in a database. Step 2: i have deleted row manually in my database.(My application sometime requires manual deletion if application is down for sometime. ...

6. How the transactions are handled in hibernate    forum.hibernate.org

7. Hibernate 3.1 Transaction != Hibernate 3.0.5 Transaction???    forum.hibernate.org

Newbie Joined: Wed Dec 28, 2005 9:18 am Posts: 4 The 'nested transaction' is not working at the Hibernate 3.1? At least not as it was at Hibernate 3.0. Below there is a test that works perfectly at Hibernate 3.0, but not at Hibernate 3.1. Another test a bit more elaborated: Code: Session session = BaseRootDAO.getSession(true); ...

8. TimeoutManager | Transaction xxx has timed out after 120 sec    forum.hibernate.org

We have around 2 million records and are doing a search. We get the following error when doing a serach (we are using spring + hibernate) ------------------------------------------------------------------------ 18:33:51:317 CET] 00000025 TimeoutManage I WTRN0006W: Transaction 00000108B55FA895000000030000001D7A7FE1267823CE79612B2D53E96160D6B0810EB600000108B55FA895000000030000001D7A7FE1267823CE79612B2D53E96160D6B0810EB600000001 has timed out after 120 seconds. ------------------------------------------------------------------------ 1. When we run the query directly at the database it executes within 30 seconds? But what can be ...

9. Which transaction demarcation modes are compatible with BMT    forum.hibernate.org

Hibernate 3.0.5, JBoss 3.2.6 After reading this page,( http://hibernate.org/42.html ), I have a few questions. When implementing a session-per-request pattern in an BMT-EJB, why should I use "transaction demarcation with JTA" as opposed to "transaction demarcation with plain JDBC"? Will not using JTA have adverse effect on the datasource's manager, or something like that? The page above says: "note that you ...





10. Hibernate transaction size    forum.hibernate.org

Thank you all for your answers. Currently, I don't have enough time to implement the solution that you suggest, that is: implement some Session bean methods that have some properties initialized and others don't. For example: I) User getSkeletonUser(String login) { .. Query q = session.createQuery("from User login=?"); q.setString(0, login); return (User) q.uniqueResult(); } II) User getCompleteUser(String login) { .. Query ...

11. hibernate + transaction + 3-tier    forum.hibernate.org

Hibernate version: 3.1.1 Name and version of the database you are using: PostgresSQl 7.4 hi all, i have gone through open session in view pattern and session & transaction articles many times . but it couldnt help me out coz of the 3 -tier archetecture i am having , it didnt give a proper explanation on how can i manage a ...

12. Transaction problem    forum.hibernate.org

Hi, I use HibernateUtil in my webapp to manage my Hibernate Session. Everything was working fine but with the following code (that I have simplified just to make it clearer for you), I have an error "could not insert" Quote: Session session = HibernateUtil.currentSession(); //get session from Hibernate Util Transaction tx = session.beginTransaction(); for (int i=0; i<100; i++){ Employee employee = ...

13. Backing out of a transaction with PreUpdateEventListener    forum.hibernate.org

Sorry original posted this in the wrong forum. I am doing some object validation in my PreUpdateEventListener. If I decide the object isn't valid and want to back out of the save, I return true. Whenever I return true I get the following errors: ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hibernate, but is more likely ...

14. Transaction scoped identify and discriminator    forum.hibernate.org

15. Hibernate tries to suspend transaction when there isn't one    forum.hibernate.org

Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message zzantozz Post subject: Hibernate tries to suspend transaction when there isn't one Posted: Fri Apr 21, 2006 12:57 pm Beginner Joined: Fri Oct 28, 2005 10:46 am Posts: 37 I've got a problem using the open-session-in-view ...

16. implementing custom transaction classes    forum.hibernate.org

I would like implement transactions classes to work with a non-transactional DB. a non-transactional DB could be EXCEL document, for example. the non-transactional DB does have contraints defined and if any of the constraints are violated during a DML operation, the operations that happened prior to the current operation need to be rolled back. I have some custom transaction classes written, ...





17. Transaction management    forum.hibernate.org

So anything is done within hibernate transaction is done within active SQL transaction? Begin and commit(rollback) of hibernate transacion exacly refer to begin and commit of SQL transaction in the underlying database. (or maybe SQL transaction is begun atfter hibernate transaction is committed to update all changes that were made to persistent objects?) thx for explanations once again...

18. What exactly does Transaction.isActive() mean?    forum.hibernate.org

There docs are pretty sparse on this method. I had assumed it meant that the trasnaction is active. To me, that means the transaction is open/exists etc. However, I have some code in a catch that basically says if (factory.getCurrentSession().getTransaction().isActive) { factory.getCurrentSession().getTransaction().rollback(); } That then throws an exception : java.sql.SQLException: Not in transaction. Now, I'm pretty confident that I *am* in ...

19. Problem only after adding transactions    forum.hibernate.org

20. problem in commiting transaction    forum.hibernate.org

Mapping documents:

21. Transactions being ignored without any message    forum.hibernate.org

Session db = HibernateUtil.getSession(); db.beginTransaction(); User admin = new User(); admin.setUsername("admin"); admin.setPassword("admin"); db.save(admin); PageHeader header = new PageHeader(); ...

22. Current transaction is not in progress    forum.hibernate.org

Hi all, I am using the JTA as explained in the hibernate documentation. The documentation says that if there is no transaction currently started, a new transaction will be opened upon the call to "getCurrentSession" method. however, when i call the following method "createCsa", it is throwing "Current transaction is not in progress" exception under WAS 6. I'd appreciate if someone ...

23. Transaction necessary in this situation?    forum.hibernate.org

Newbie Joined: Thu Sep 14, 2006 10:36 am Posts: 1 I'm fairly new to Hibernate, and have a question that I haven't been able to find an answer to. I have a situation where I am loading a static array with objects from a hibernate query, these objects are immutable, so will never be modified. All examples I have found, as ...

24. Problem With Transaction and Hibernate 3.1.3    forum.hibernate.org

Hi, I'm using Hibernate from EJB Session Bean on Websphere 6. I try to load data from database with Criteria API. It's work perfectlly with 3.0.5, but if I change the hibernate jar with the version 3.1.3; I obtain an exception : org.hibernate.HibernateException: createCriteria is not valid without active transaction I need Help, Thanks You. Yann. Hibernate version: 3.1.3 Mapping documents:

25. mixing transaction strategies    forum.hibernate.org

Hi, I have a web application that uses a servlet filter to implement open session in view. But in the near future I expect that I need midlle tier transactions (database access and queues/ database access and mail). When implementing middle tier transactions and binding hibernate transactions to them I prefer to implement this only for the service methods that really ...

26. Hibernate in CMP transaction    forum.hibernate.org

27. Handling Different Transactions    forum.hibernate.org

Hi, I am handling two applications. one is a web application written in Hibernate and the other was a stand alone application. The stand alone application is being called by the web application by passing some parameters to it. These parameters that are inserted into a table that both the applications are using. Even after commiting the transaction from the stand ...

28. ScrollableResults with many transactions    forum.hibernate.org

I need to do something lik that: 1. Start ScrollableResults (FORWARD_ONLY) 2. Start loop through results 3. Start transaction 4. Do some work with entity 5. Commit transaction 6. End loop 7. Close ScrollableResults The problem, is that I'm getting error "Cannot operate on closed ResultSet". Batch update is not suitable for me, because of our architecture (one of the reasons ...

29. Transactions in hibernate    forum.hibernate.org

Hi, I am currently learning hibernate and its transactions - I understand the transaction as a group of operations that have to be performed together, or the so called 'rollback' occurs and in case of some error, everything backups the the previous state - we avoid many problems thanks to that... I am writing simple application that will use Hibernate3 and ...

30. Anything wrong with this transaction logic? I think so.    forum.hibernate.org

Heres my scenario: I make a call to my external database which returns +1000 records. I would then cache all of them in DB2 using Hibernate3. I only use my cache as a local read-only copy of the external database. If I want to add an additional record, that record will be sent to the external database to be sorted or ...

31. java.lang.IllegalStateException: No transaction    forum.hibernate.org

Newbie Joined: Wed Jan 03, 2007 4:12 am Posts: 11 Location: Singapore Dear all, I have encountered the exception java.lang.IllegalStateException: No transaction while I try to perform the commit. My box has the following setup JBoss 4.05 GA Hibernate 3.2 GA Postgres DB 8.0 The following is the actual exception stack trace i got: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=NEO/33225, BranchQual=, ...

32. "idle in transaction" Problem with hibernate2    forum.hibernate.org

Author Message makro Post subject: "idle in transaction" Problem with hibernate2 Posted: Sat Jan 20, 2007 3:05 pm Newbie Joined: Sat Jan 20, 2007 2:21 pm Posts: 1 Hello, first i have to say that i am not involved with any Java programming. I have to maintain a debian root-Server running Apache2/mod_jk-1.2.19/Tomcat5.5/PostgreSQL 8.0.4 with only one Java Webapp deployed. ...

34. Urgent - Changing schema during transaction    forum.hibernate.org

Hello, We have an unique situation. We have adentical tables under diffrent schemas. We have a schema for each customer. When a message arrives from a customer, depending on the messge origin (customer) we store the message in the appropriate table in the appropriate schema belonging to the customer. I tried the following: Configuration cfg = this.sessionFactoryBean.getConfiguration(); PersistentClass pc = cfg.getClassMapping("com.vibes.aggregator.service.routing.model.MtShortMessage"); ...

35. Hibernate and Transactions    forum.hibernate.org

36. hibernate transactions    forum.hibernate.org

37. why transaction is required    forum.hibernate.org

Hi All, I want to know one thing about hibernate. while inserting some records in database using hibernate in a Java program, why transaction is required?? is it mandatory we need to use transaction? if so why? Another question that I have is is there any way we can store the hibernate query result value in a object(of the class which ...

38. Transaction Issue    forum.hibernate.org

Hi, I am using EJB,Hibernate and postgresql for my project and the server is JBoss. i have handled Transactions at EJB level as shown below. but there is a issue when multiple treads are running Below is what happens in the EJB methods (1) Method abc(){ //ejb transaction type is 'RequiresNew' (2) Method ccc (){} // ejb transaction type is 'Required' ...

39. Transaction Issue    forum.hibernate.org

Hi, I am using EJB,Hibernate and postgresql for my project and the server is JBoss. i have handled Transactions at EJB level as shown below. but there is a issue when multiple treads are running Below is what happens in the EJB methods (1) Method abc(){ //ejb transaction type is 'RequiresNew' (2) Method ccc (){} // ejb transaction type is 'Required' ...

40. What is the efficient way to protect transaction leaking.    forum.hibernate.org

I found some transaction leaking in my application. That is a transaction starts, but not commit or rollback. Some of these cases happened when the application encountered errors or exception that not be caught. Is there any smart way that can protect my transaction not being leaking? Some way that not changes the application code, but my transaction class will be ...

42. need input on transaction handling    forum.hibernate.org

Hi, I am using hibernate with Tomcat5.0. Here i wanted to use JTA so added jotm related jars. Changed the hibernate.cfg.xml for including the transaction. org.hibernate.transaction.JTATransactionFactory java:comp/UserTransaction So after adding this in my DAO can i use directly sessionFactory.getSession().beginTransaction() // perform some logic sessionFactory.getSession().getTransaction().commit(); //if exception rollback finally close session. Will this do? Or if i want to seperate ...

43. How can I create client class for transaction?    forum.hibernate.org

44. Problem with transaction    forum.hibernate.org

Newbie Joined: Fri Jun 01, 2007 6:13 am Posts: 2 hi all, I have a problem with transaction in hibernate because there is an impossibility of making a rollback. I explain me : i have created a user class with hibernate annotations and i have made a test class in order to add user to my MySQL database. The probleme is ...

45. Hibernate - Multiple Transactions    forum.hibernate.org

I have multiple threads running, each one is creating a transaction over a single session.. According to the API doc, "it is intended that there be at most one uncommitted Transaction associated with a particular Session at any time" Is there no way to run concurrent transactions in hibernate over a single session? I am using Hibernate 3.2

46. Transaction handling by RDBMS?    forum.hibernate.org

Hi, is there a possibility to achive transaction handling by database and not by jdbc? I've a spring application and I'm using the org.springframework.orm.hibernate3.HibernateTransactionManager. Due to a large amount of inserts my application runs out of memory. When I remove the transactionManager everything works fine, but I need to process everything in one transaction. I think this behaviour is because then ...

47. Can't get transactions working properly    forum.hibernate.org

Hi having some problems getting transactions working properly. Basically I am allow an update on an object - change to its name (part of the pk). the code looks like this open session session.update (obj) session.lock(obj,upgrade) begin transaction session.createquery().unique != null (I do a search to make sure the name hasn't been used before ?) make changes to obj session.update(obj) commit ...

48. getNamedQuery() outside of transaction, is it possible?    forum.hibernate.org

public List getCompanies(String orgId, String userId) { List results = null; Session session = HibernateUtil.getCurrrentSession(); //session.beginTransaction(); results = session.getNamedQuery("getCompanyListSP") .setParameter("orgId",orgId) .setParameter("userId",userId) .list(); //session.getTransaction().commit(); session.close(); ...

49. doubt about transaction    forum.hibernate.org

Hello, I am using appfuse-jsf 1.9.4. In the following save function, whenever an internalEvaluation details is inserted I am updating the manuscript status. My question is will this insert and update comes under same transaction? public String save() { boolean isNew = (internalEvaluation.getId() == null); internalEvaluationManager.saveInternalEvaluation(internalEvaluation); String key = (isNew) ? "internalEvaluation.added" : "internalEvaluation.updated"; addMessage(key); String manuscriptId = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get( "manuscript_id_p"); manuscript ...

50. why conn can't be used in several transactions?    forum.hibernate.org

Hi guys I'm a really stupid mothfuckr... Could you please tell me about aggressive connection release feature impact. I know that agressive release works well within JTA mode. It's cool Hibernate obtains connection only for very short preriod when it really needed. Ok. Connection is returned into pool. But it never be taken to another session with anoter transaction utnil first ...

51. How to Audit by Transaction and keep History    forum.hibernate.org

I've scoured the web, the book, and the forums but I have not been able to figure out how to do this: 1. Create an Audit whenever an insert, update, or delete transaction starts. The audit would have an id, username, and date. 2. Keep a record of what the entity looked like before the change in a history table that ...

52. ClassCastException upon starting Transaction    forum.hibernate.org

Hello! Upon starting a transaction using session.beginTransaction() I'm getting the following exception: Code: java.lang.ClassCastException: org.jboss.tm.usertx.client.ServerVMClientUserTransaction at org.hibernate.transaction.JTATransaction.(JTATransaction.java:60) at org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:53) at org.hibernate.jdbc.JDBCContext.getTransaction(JDBCContext.java:177) at org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1279) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1289) at de.unitb.voting.hbn.HibernateSessionFactory.beginTransaction(HibernateSessionFactory.java:126) at de.unitb.voting.action.VoteEditAction.execute(VoteEditAction.java:174) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) ...

53. transaction problems Bean managed transaction synchronisati    forum.hibernate.org

Author Message Dreuzel Post subject: transaction problems Bean managed transaction synchronisati Posted: Tue Jan 22, 2008 8:25 am Newbie Joined: Tue Nov 15, 2005 7:20 am Posts: 17 i run JBoss 4.2.2Ga -Seam 2.0.0.ga but that should not matter my intention: i need to update thousands of independent records in sheduled environment. For efficiency reasons I need to do ...

54. basics: transaction usage not work as expected?    forum.hibernate.org

Newbie Joined: Fri Feb 08, 2008 10:31 pm Posts: 4 I read this... http://hibernate.org/42.html to no avail. If anyone knows steps to debug a problem like this, that would be GREAT TOO (then instead of fishing for me, I can learn how to catch my own fish) Description, I have a db model of order has an address, shirt and user(all ...

55. Correct manage Transaction    forum.hibernate.org

Hi all, In my current project I am using hibernate in the persistence layer. I used to do these tasks with EJB 2.1. Container Managed Transaction. And I used to define the scope of transacitions in deployment descriptors. But now, I have to do these things. I would like to know the best way to manage the transaction with hibernate. I ...

56. Integrating hibernate with JINI transactions    forum.hibernate.org

Hi All, hopefully somebody can give me some pointers as i've found very little info and this combination. We're implementing a system that stores data on an Oracle database through a hibernate backed persistence service that is backed by Jini. Jini has a transaction manager that we would like to be in control. However i'm having a bit of trouble hooking ...

57. Transaction Problem for high volume Enterprise Application    forum.hibernate.org

Hi, we have a transaction management problem in our application. we use hibernate 3.x and sets the connection pool size to something more than 50. But when we used 20 threads for some stress tests it shown that transaction counts are limits by 3 transaction on one time and hibernate default jdbc transaction manager is bottleneck. Jprofiler shows us that threads ...

58. What a transaction manager you advice?    forum.hibernate.org

Hello, I already have a huge application uses hibernate & derby, I dont have an application server running, only Tomcat web server. I got tired of managing transactions myself :( most of my problems appear because of the sessions & transactions, and some of them because of loosing the DB connections & deadlock due to none lazy relations & multi threading!! ...

59. Hibernate EM and suspended transactions    forum.hibernate.org

Hibernate EM: 3.3.0.GA Hi all, I would like to know where can I find more information about persistence context and suspended transactions. I'm getting some weird results when using requires new (suspend the current transaction and creates a new one) where I have the same entity changed in different transactions. Eg. Code: main() { // create new transaction Entity entity = ...

60. Managing Mutiple Transaction with Hibernate    forum.hibernate.org

I need to develop a process which involves a database table with 'n' number of records with 'm' number of user accessing the table. Like for example Table contain records like Data1, Data2,Data3....,DataN Users are User1, User2, ....UserN. Now at some time User2 is trying to modify Data2 and at the same time User5 is deleting Data2. So how can we ...

61. Hibernate transaction problems    forum.hibernate.org

Hi i have a problems with hibernate, i think that there are problems with transactions..i have already read this http://hibernate.org/42.html but it did not helped me.. why when i do a statement as a insert it does not work and i get a java null pointer exception? this is the java code Code: ...

62. Is this transaction okay?    forum.hibernate.org

Newbie Joined: Wed Aug 01, 2007 4:00 am Posts: 8 Hello Friends I am a Hibernate/Spring newbie. The following piece of code public void saveProduct(final Product product, final Integer manufacturerId) { Manufacturer manufacturer = manufacturerDAO.loadManufacturer(manufacturerId); product.setManufacturedBy(manufacturer); manufacturer.addProduct(product); manufacturerDAO.saveManufacturer(manufacturer); } gave me the error failed to lazily initialize a collection of role: no session or session was closed. Then I tried the ...

63. first hibernate app - transaction ?    forum.hibernate.org

hi, I've worked thru the first hibernate app but am slightly confused about transactions. In the web app version this line appears at start of doGet // Begin unit of work HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction(); and commit at end of doGet: ibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit(); But what if i dont want everything in between in a transaction? is it possible to do an insert/update in hibernate3 without ...

64. Current transaction is not in progress    forum.hibernate.org

jta true true org.hibernate.transaction.JTATransactionFactory ...

65. Transaction Managment    forum.hibernate.org

Hi everyone, I'm a bit confused, and I'm hoping someone could help me: I have a J2EE application which uses EJB 3.0 + Hibernate. Since I'm working with a local framework, I only have entity beans and no session beans (framework elements replace the need for session beans). I want to manage the transaction manually (begin, commit, rollback), but I'm a ...

66. Transaction Managment    forum.hibernate.org

Hi everyone, I'm a bit confused, and I'm hoping someone could help me: I have a J2EE application which uses EJB 3.0 + Hibernate. Since I'm working with a local framework, I only have entity beans and no session beans (framework elements replace the need for session beans). I want to manage the transaction manually (begin, commit, rollback), but I'm a ...

67. No more conversation transaction management?    forum.hibernate.org

68. idle in transaction    forum.hibernate.org

Newbie Joined: Sun Mar 08, 2009 7:48 am Posts: 1 Hi guys, postgresql-8.2-505.jdbc3.jar hibernate3.jar I'm getting this form ps aux: Code: postgres 18490 S Mar07 0:00 postgres: 127.0.0.1(52783) idle in transaction postgres 30755 S Mar07 0:00 postgres: 127.0.0.1(48223) idle in transaction postgres 666 S Mar07 0:01 postgres: 127.0.0.1(38756) idle in transaction postgres 14576 ...

69. how to manage Transaction ?    forum.hibernate.org

Hi, I m using Spring with Hibernate by extending the HibernateDaoSupport class. I have a method which accepts a List Collection as the parameter. I m iterating over the List and updating my database as follows: ////////////////////////////// Iterator iterator = cabRequests.iterator(); //cabRequests is a List object containing cabRequest Objects. CabRequestDTO cabRequest = null; try { while( iterator.hasNext() ) { cabRequest = ...

70. Demarcation of transactions... use of ThreadLocal    forum.hibernate.org

Hi ... Myself and colleague are introducing Hibernate to our new projects. We have been doing a lot of reading and i personally have tried a number of hibernate tutorials now for over 6 months and he is only the hibernate ship now. We kinda stumbling over the issue of whether to use Dedicated transaction manager or just a straight use ...

71. Best Practices to handle transactions in web applications    forum.hibernate.org

Thanks a lot for your answer. I read the article and come to the conclusion, that my approach is the a viable option. So I will extract my session and transaction management into a filter as described in the howto. Nevertheless I'm a bit confused about J2EE Server and my "tomcat solution" (tomcat's faq: "Tomcat is not a full J2EE server"). ...

72. Can we use Hibernate Transaction Manager for lobhandler    forum.hibernate.org

Hi all, I am new to the field of Hibernate and I am doing some POC work on it. I wanted to know is it possible to have a single Hibernate Transaction Manger which will take care of transaction for lobhandler also. Currently my TestList.hbm.xml is having the following clob property Code: ...

73. Transaction spanning multiple schemas    forum.hibernate.org

Iam using Spring + JPA with hibernate. I have to access three different schemas within a database(oracle). The transaction spans across the schemas. After googling the net, I found that we have to use multiple datasources + JTATransactionManager. Has anyone used this? If yes can you please provide mewith the configuration files??

74. Transaction Management    forum.hibernate.org

Hi, I recently upgraded hibernate form 2.5 to 3.3.6 and spring from 1.2.8 to 2.5. Previously we used jencks to be our Transaction manager. And all the transactions was taken care! Spring file looks like this:

75. Hibernate transaction duplicate problem    forum.hibernate.org

List allBranchBuilding = branchBuildingDao.getAllBranchBuildingID(pkId, sess); for (Integer integer : allBranchBuilding) { branchBuildingDao.delete(integer, sess); // delete kardane tamame BranchBuilding ha va tel haie aanha ...

76. Hibernate transaction    forum.hibernate.org

Because hibernate does write behind transaction, does it mean that when i call session.beginTransaction();, hibernate may not actually start transaction, rather, it will first try to resolve all data integrity/dependency issues mentioned via configuration files and once found valid, it will open a transaction, execute sql and commit. this will ensure that transaction is opened for min. amount of time. OR ...

77. Could not enlist in transaction on entering meta-aware...    forum.hibernate.org

Hello all, I'm getting a rather strange exception while using two separate persistence-units (one JTA, one RESOURCE_LOCAL). They are not being used at the same time. The transaction from one should be completed by time the other starts. The two PU's are using different data-sources, pointing at the same database. Here is the exception: Code: 23:50:25,938 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] ...

78. Can Hibernate support Filenet P8 transactions    forum.hibernate.org

79. transactions in hibernate..    forums.oracle.com

80. transaction attribues in hibernate    forums.oracle.com