On Mon, Oct 27, 2008 at 2:45 AM, Håkon Sagehaug <[EMAIL PROTECTED]>wrote:
> 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: http://svn.apache.org/repos/asf/ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/DataSourceConnectionProvider.java Cheers, Matthieu > > 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) >
