Project

General

Profile

« Previous | Next » 

Revision 089450d5

Added by Andreas Kohlbecker about 14 years ago

preparing for hibernate-c3p0 & commenting out all System.err.println

View differences:

cdmlib-persistence/src/main/resources/eu/etaxonomy/cdm/persistence.xml
24 24
  -->	    
25 25
	    <property name="configLocation" value="classpath:eu/etaxonomy/cdm/hibernate.cfg.xml"/>
26 26
	    <property  name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration"/>
27
	    <!--
28
	        Do NOT specify the dataSource in org.springframework.orm.hibernate3.LocalSessionFactoryBean
29
	        if using org.hibernate.connection.C3P0ConnectionProvider. 
30
	        Specifying it causes Spring to not honor the hibernate.connection.provider_class property 
31
	        specified in the Hibernate properties section. 
32
	    -->
27 33
	    <property name="dataSource" ref="dataSource"/>
28 34
	    <property name="hibernateProperties" ref="hibernateProperties"/>
29 35
	</bean>

Also available in: Unified diff