aspose file tools*
The moose likes Spring and the fly likes Spring Persistence With Hibernate: Spring JDBC vs Hibernate ORM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Persistence With Hibernate: Spring JDBC vs Hibernate ORM" Watch "Spring Persistence With Hibernate: Spring JDBC vs Hibernate ORM" New topic
Author

Spring Persistence With Hibernate: Spring JDBC vs Hibernate ORM

Henry Naftulin
Ranch Hand

Joined: Feb 08, 2010
Posts: 43
Would be great to go through the new book. Will there be a comparison of Spring ORM and Hibernate? Does it show how to use unit tests to test spring persistence with hibernate? does it go into detail on how to get reference data setup?

Thank you,

Henry
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Will there be a comparison of Spring ORM and Hibernate?

There's no such thing as Spring ORM. Spring supports the integration of some ORM frameworks like Hibernate, JPA... According to the publisher, there are some content about JPA and GORM.


[My Blog]
All roads lead to JavaRanch
Paul Fisher
author
Greenhorn

Joined: Jul 06, 2010
Posts: 23
Hi Henry,

Testing and testing strategies is a significant component of our book. We discuss techniques for building unit and integration tests for your persistence layer, and cover approaches related to mocking, reference data seeding, automatic rollback at the end of a test, and more. The authors are all big fans of testing, and I think this is an area where Spring really shines, as it helps to decouple your layers and dependencies, encourages interface design, and makes testing more attainable.

Thanks for your question, and I look forward to speaking with you soon.

Best Regards,

Paul

Paul Tepper Fisher
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 975
Hi Paul,

What testing frameworks did you use?

I'm especially interested in the seeding and rollback.

Gian


"Eppur si muove!"
Brian Murphy
Author
Greenhorn

Joined: Jul 07, 2010
Posts: 8
Hey Gian,

We cover JUnit, the Spring TestContext framework and toss in a bit of JMock as well.

Cheers,

Brian D. Murphy
@brimurph
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Persistence With Hibernate: Spring JDBC vs Hibernate ORM
 
Similar Threads
Integrating Struts 2 with Hibernate.
Sping, Hibernate and Security
Best Books for Spring and Hibernate?
Spring Persistence with Hibernate book required or assumes any hibernate or ORM knowledge?
Spring Persistence with Hibernate