ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: Configure hibernate in tomcat
Date Mon, 27 Oct 2008 14:31:24 GMT
On Mon, Oct 27, 2008 at 2:45 AM, Håkon Sagehaug

> Hi
> I know this is not a ode question, but noticed that you use hibernate and
> tomcat together and was wondering how you are configuring it, by using a
> tomcat jndi or pools like c3p0, what is the best?

When configured with an external datasource, we rely on a datasource and
connection pool provided by Tomcat that we lookup form the JNDI. I think
Tomcat uses DBCP by default. We then provide that to Hibernate:



> I've not found an answer searching or ansking the hibernate forum, any tips
> cheers, håkon
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message