aspose file tools*
The moose likes Beginning Java and the fly likes transaction package Synchronization inteface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "transaction package Synchronization inteface" Watch "transaction package Synchronization inteface" New topic
Author

transaction package Synchronization inteface

Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
I am going through on program i got an exception as follows:



i tried downloading various Jars. but i am not getting that particular jar which has Synchronization class/interface in any pacakge like transaction.

When i try to import javax.transaction.(Here i couldn't find any Synchronization Class/Interface)

The Synchronization interface is not present under the transaction package

What am i supposed to do now. Where can i get it. help me.


Perform for today. Adapt for tomorrow.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38793
    
  23
It's not in my Java 6 API; have you tried the J2EE documentation? You might have to install J2EE as well as the standard edition.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
http://www.hibernate.org/116.html#A2


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
I have gone through all suggestions you have told. I am not getting through it. Is there any way to avoid J2EE installation and still get Synchronization interface?
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
Is there any other way to get Synchronization interface?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What does the "lib/README.txt in the Hibernate distribution" say?
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
I have only jar of hibernate-2.1.3 and when i extract this jar file and i havn't find any lib directory in it.

Where can i read this README.txt file? And what significant point i can achive from it?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
When you said that you had gone through all the suggestion, I assumed that you also had read the the FAQ entry I linked to, just before that post. There it says:


You are missing a third-party library Hibernate needs, check lib/README.txt in the Hibernate distribution first. You need all classes that are listed as required for runtime.
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
I gone through the FAQ of hibernate but havn't find the relative information regarding hibernate distribution.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transaction package Synchronization inteface