Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring-dao module missing

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends
I download spring 3 and trying to use SessionFactoryUtils class inside orm package. But now I get a compilation error that it refers to org.springframework.dao.DataAccessResourceFailureException

but this module not available in the spring download. Any ideas and any helpp would be greatly appreciated

Thanks
Mohamed
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no such module; that class is in org.springframework.transaction. A web search or using a jarfinder site will answer these questions more quickly than waiting for someone here.
 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much for your reply

This is the class I am talking about, which is referred in spring 3 byorg.springframework.orm.hibernate3.SessionFactoryUtils Class

http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/dao/DataAccessResourceFailureException.html

This is not a transaction module class which you referred to.

I am quite familiar with jar finders but not sure here what is going on.?

Would appreciate your reply thanks?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring 3: org.springframework.transaction-3.0.4.RELEASE.jar
Spring 2.5: spring-tx.jar

I'm looking at the download; it's right in front of me. Those jars exist in their respective downloads.

So I don't know what's going on here either--looks like something is wrong with your download, because the classes exist.
 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a bunch much appreciated. As the package name for org.springframework.dao.DataAccessResourceFailureException has dao in it I was looking for the same.

I never expected it to be in a different package. Thanks again for your sincere reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic