hi mathias, there are several possibilities...
- use an Excalibur DataSourceComponent (which pools connections) to get connections and use these connections for your hibernate sessions - write and use a custom hibernate ConnectionProvider that can be configured to use an Excalibur DataSourceComponent; this is probably a better and more reusable approach; just have a look at the ConnectionProvider interface and implementations, should be relatively straight forward to implement - ... > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag > von [EMAIL PROTECTED] > Gesendet: Donnerstag, 13. November 2003 13:12 > An: [EMAIL PROTECTED] > Betreff: Hibernate using db-connection-pool of cocoon? > > > Hi, > I know that Hibernate can use the connections specified in the > server.xml of > e.g. Tomcat by jndi. Is there any way to tell hibernate to use the > connection-pool of cocoon? Yes, there is the way - like described > in the HowTo's > - to define a property file for hibernate using its own > connections. But I don't > like this approach... > Thanks in advance for every response.. > Mat > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
