swaldman wrote:
So, I'm not a lawyer, but I don't think LGPL prevents you from doing anything you want for your own internal use. If you're distributing the software, I think there's a definitional issue of whether your new ConnectionProvider is a modification of hibernate libraries or merely a use of them, and if the latter, LGPL doesn't require you to publish. But this is all stuff I don't really know that much about.
The LGPL license is for the libraries, but is there a different license for using the source? My use case is very trivial and has alternatives as you suggested below, but I want to understand this out of curiousity on what are the terms govering the use parts of the source code.
swaldman wrote:
I do know a good bit about c3p0, though. Though writing your own ConnectionProvider is easy to do (hibernate was very sensibly written that way), you may not have to bother. Recent c3p0s offer an alternative means of finding all c3p0 DataSources active within a virtual machine. If what you want to do is have programmatic access to your c3p0 DataSource, download the most recent c3p0-0.9.1 prerelease, and check out the documentation and API docs for the C3P0Registry class.
Good luck!
Steve
This information is helpful, and could provide me with most of what I need. Their website has been inaccessible through the day, so I will check it later. Thank you.