Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Recipes: debugging

 
Rob Ivan
Greenhorn
Posts: 29
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Srinivas Guruzu.

Does the Hibernate Recipes book go into much detail on debugging methods and approaches? I am using a combination of Spring component scanning and JPA/Hibernate annotations to generate my Hibernate classes at run-time. Even though I am able to capture all HQL statements in a console, I miss the ability to review the Hibernate generated mappings XML documents. Is there a way to view the generated Hibernate mappings when using this auto-wire approach?
 
srinivas guruzu
author
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

I am not aware of a way to look at the XML mappings if we are using annotations.
I would look at the annotations to see what the mappings are.

Regards

Srinivas

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic