From: Gavin_King/Cirrus%<CI...@ci...> - 2002-04-25 04:31:45
|
Finally!! Two things to note with this release: 1. I ended up changing the column name of the default HiLoGenerator after all (MySQL doesn't like "" in SQL statements.) Sorry to people impacted by this :( 2. I am experimenting with c3p0 connection pooling (http://sourceforge.net/projects/c3p0). This looks like a promising project though there are still some issues with the current version. I would very much appreciate if people could try it out and see how it functions in their deployed environments compared to the rudimentary connection pooling done by hibernate. (None of this is relevant to people using application server datasources, so please ignore it if you are.) To use c3p0, you need to set the usual properties you would need for DriverManager, along with: hibernate.c3p0.max_size hibernate.c3p0.min_size hibernate.c3p0.timeout hibernate.c3p0.max_statements Also, if anyone knows of any other good open source connection pool implementations, we can try to build in support for those other alternatives. (cirrus.hibernate.impl.ConnectionProvider abstracts the notion of a connection pool ... I might eventually move this interface and its implementors to a seperate package.) Enjoy! (and give feedback, please!) |