- Posted by: Frank LaRosa
- Posted on: January 04 2005 20:00 EST
I created a custom ConnectionProvider class which I would like to use with Hibernate. However, my class does not have a no-argument constructor. I need to construct it myself, and hand the finished object over to Hibernate programatically instead of declaratively as is shown in all the examples.
How do I do this? I am looking for some sort of "setConnectionProvider" function, but it does not seem to exist.