IntelliJ Java IDE
The moose likes Spring and the fly likes spring-dao module missing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "spring-dao module missing" Watch "spring-dao module missing" New topic
Author

spring-dao module missing

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 234
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


SCJP, SCWCD, SCBCD, SCEA 5
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
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

Joined: Jun 08, 2005
Posts: 234
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

Joined: Sep 29, 2008
Posts: 12612
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

Joined: Jun 08, 2005
Posts: 234
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.
 
IntelliJ Java IDE
 
subject: spring-dao module missing
 
Threads others viewed
OSGi jar files
JavaDoc Spring
Netbeans with spring
spring validation framework
Spring Web Module vs Spring MVC Framework
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture