1. Meaning of HibernateException: Batch update row count wrong? forum.hibernate.orgHello everyone, I don't get the meaning of net.sf.hibernate.HibernateException: Batch update row count wrong: 0 I get this when specifying a jdbc.batch_size property value greater than 0. (for a value of 0, I get "net.sf.hibernate.HibernateException: SQL update or deletion failed (row not found)" instead) This happens when I commit a transaction with two new objects (one parent, one dependant). I'm using ... |
2. net.sf.hibernate.HibernateException: Batch update row count forum.hibernate.orgHi, I want to map a One-To-Many Association between the Entity Question and the Entity Options. One question can have many options and one option can only belong to one Question. The primary key of Options consists of the Option_id and the Question_id, where the latter is a foreign key to Question. I wrote the following two mappings for Options and ... |
3. Debug net.sf.hibernate.HibernateException: Batch update row forum.hibernate.orgI see the entry in the FAQ that explains the root cause of this problem, however, I am seeking to find out what entity relationship is generating this error since I am persisting a glyph of objects. What log4j class can I set debug on to find out what table/class/relationship is generating this error? Thanks! |