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
posted
0
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
posted
0
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
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
posted
0
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
posted
0
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.