Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can i get only the SQL commands from hibernate?

avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a root object (TransactionEvent) that have referened to a lot of other objects and etc
I get around 100 TransactionEvent objects per sec.

I need to save the toor entities and all the related entities to the DB.
The save is simple cascade save without merge.

I am pretty sure that hibernate will not be able to support in the required performance (100 per sec of the complete object graph).

So i am thinking on transalte those objects to batch JDBC.

Do you know any tool or hibernate ability to get only the SQL command from the object?

Thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!