Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
Debug level Hibernate log excerpt:
All, I am using Hibernate 2.1.4. in combination with Spring 1.02
When running a junit test case, I keep hitting a StackOverflowError error. The error occurs when calling "orderDao.saveOrder(order)" which simply calls getHibernateTemplate().saveOrUpdate(order);.
Any suggestions on how to debug this type of error?
Regards,
Joshua
Code:
[junit] >>>DEBUG 1
[junit] >>>DEBUG 2
[junit] >>>DEBUG 3
[junit] >>>DEBUG 4
[junit] >>>DEBUG 5
[junit] >>>DEBUG 6
[junit] >>>DEBUG 7
[junit] >>>DEBUG 8
[junit] >>>DEBUG 9
[junit] >>>DEBUG 10
[junit] Hibernate: insert into [order] (order_date, modified_date, credit_card_type, credit_card_number, credit_expiration_date, credit_cardholder_name, bill_address1, bill_address2, bill_city, bill_state, bill_zip, total_cost, user_id, status_id, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[junit] ------------- ---------------- ---------------
[junit] Testcase: testSave(employeeclub.dao.OrderDaoTest): Caused an ERROR
[junit] null
[junit] java.lang.StackOverflowError