As i am learning spring, i get more fascinated by it's layered architecture. But one question arises that i would like to share with this forum.


How do i isolate where is the problem when i debug my spring application using Hibernate as ORM on JBoss server.

Say for example, i get an HibernateQueryException. How will i know if the problem is happening at the spring level or hibernate or even in JBoss. As we add more layers to our application, i was wondering if it would consume more time to debug hard to detect bugs???

Any input on this is greatly appreciated.

Thanks![/quote]