1. versioning fails for onetomany collection holder stackoverflow.comgiven parent entity
|
2. Hibernate 3.6 : Schema Export fails, autocommit = false? stackoverflow.comIm reading the hibernate book about schema export: http://jpa.ezhibernate.com/Javacode/learn.jsp?tutorial=02validatingthehibernateenvironment I tried running the code in Hibernate 3.6, but the schema is not created, and assuming from the output log, perhaps it's ... |
3. Hibernate Transaction delete commit fails coderanch.com |
4. transaction fails after the method returns forum.hibernate.orgHi all this is my method: Code: @Transactional(propagation = Propagation.SUPPORTS, readOnly=false, rollbackFor = HibernatePersistenceException.class) public void create(T newInstance) throws PersistenceException { try { getSession().save(newInstance); ... |
5. Transaction delete commit fails with EntityNotFoundException forum.hibernate.org0000002a RegisteredSyn E WTRN0074E: Exception caught from before_completion synchronization operation: javax.persistence.EntityNotFoundException: deleted entity passed to persist: [com.cmb.businessengine.apps.fileimport.core.domain.FileImportStatistics# |
6. Must discard Session if lock acquisition fails? forum.hibernate.org |
7. Transaction Commit fails when using 2 Data sources forum.hibernate.orgNewbie Joined: Thu Jun 24, 2004 6:09 pm Posts: 9 Hi all, I am getting following exception when I am trying to save a record. I am using 2 data sources in WSAD. One to connect to db2 using XA connector and second one to connect to Oracle (hibernate uses the second one). My code flow is as follows: 1. Container ... |
8. Many transactions in a single session - rollback fails forum.hibernate.orgI want to perform a number of transactions in a row. All of which share common objects. I reuse one session for all of them to avoid loading an object in one session and updating it in another one. This is the code : Code: ... Transaction transaction = session.beginTransaction() try { ... ... |
9. Hibernate-Websphere - Every Second transaction fails. Clues? forum.hibernate.orgBeginner Joined: Thu Dec 01, 2005 7:07 pm Posts: 21 Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:3.0 Mapping documents: |
10. Long session - what if commit in the servlet-filter fails? forum.hibernate.orgI'm using the "hibernate long session" pattern as described in the book by G.King and C.Bauer (chapter 8). But the problem is: if there happens an error when I try to commit in the servlet-filter (e.g. a constraint problem), I do not know how to let the user know about the problem (with a useful error message). I'm also using flush(), ... |
11. JTA synchronization fails after transaction times out forum.hibernate.orgNewbie Joined: Fri Feb 03, 2006 12:47 pm Posts: 1 Hi, We are running a web application with JBoss 4.0.4.GA. We are not using EJBs, just an EAR with a WAR and a HAR file. Some of the processes in the web application run for over 5 minutes and depending on the number of users may timeout, as TransactionTimeout is set ... |
12. New transaction fails after rollback forum.hibernate.orgHibernate version: 3.2.4 I have problems with two transactions in one session. The code: Session session = Helper.currentSession(); for(int i=1;i<=3;++i) { Transaction t2 = session.beginTransaction(); System.out.println("tran info "+t2.isActive()+"/"+t2.wasCommitted()+"/"+t2.wasRolledBack()); System.out.println("Inserting i: "+i); try { System.out.println("Transaction "+t2); Smaz s = new Smaz(i); session.save(s); t2.commit(); } catch (Exception e) { System.out.println("Error: "+e); t2.rollback(); } } Helper.closeSession(); The Smaz(1) is inserted OK. For Smaz(2) is ... |
13. An operation fails but transaction commit result ok forum.hibernate.orgHi everybody! I have a problem handling transactions and I have not any idea to solve it! :( Can you help me? I'm working with Hibernate 2.0 and Java Struts framework. My code is like this: 1.- new session and begin transaction 2.- load object_1 (db table 1) 3.- update object_1 (db table_1) 4.- insert object_2 (db table_2) 5.- delete object_3 ... |
14. Transaction Fails, can't exit gracefully forum.hibernate.orgAuthor Message greatman787 Post subject: Transaction Fails, can't exit gracefully Posted: Wed Jan 28, 2009 5:18 pm Newbie Joined: Thu Aug 23, 2007 9:52 pm Posts: 9 This is a simple code and my insert fails due to not null but my program crashes. Even though insert call is in try catch block At end of transaction ,it tries ... |
15. multithreaded import fails due to optimistic locking? forum.hibernate.org @ManyToMany(fetch = FetchType.LAZY) @JoinTable(name = "IDX_ARTICLE_ARTICLEGROUP", joinColumns = { @JoinColumn(referencedColumnName = "id", name = "article_id") }, inverseJoinColumns = { @JoinColumn(referencedColumnName = "id", name = "articlegroup_id") }, uniqueConstraints = { @UniqueConstraint(columnNames = { "article_id", "articlegroup_id" }) }) private Set |