Hi,
I have been studying
this link for a day or so and I think there's a pretty good chance that I'm having the problem addressed within. I have searched high and low, but I'm not able to find a solution to the problem I'm having with the solution :). The article describes creating a custom connection provider instance which I have done and jar'ed (The code in the example). I have added logging to the subclass to make it obvious when it is being used. I have added the required prop to the hibernate configuration and run without the jar in the classpath: I get an exception that the new ConnectionProvider subclass can't be found which is what I expect. So I add the jar to the server classpath, expecting that hibernate is going to use it to retrieve connections within a transaction, but none of the logging that I have added to the class shows up in my log file. So, it appears that hibernate sees the connection.provider_class property and tries to create an instance of my class, but doesn't actually use it. I'm sure I'm missing something obvious, but I can't figure it out and I have read everything I can find. Help?
We are using WAS 5.1 and DB2. I'm not sure about the Hibernate version, it's just a jar and no one knows what version we are using. I can't find anything in the jar (manifest, etc) that indicates the version, but it's probably 5 months old.
I apologize for my simplistic explanation, I'm not a J2EE guy. I've been handed a problem that I can't fix. Thanks for any advice, let me know if there's anything else I can provide.
James