I know there is a problem with the hibernate.cfg.xml file but I wonder if it's 
my application configuration problem, I add the following entries relevant to 
hibernate config as documented:

<bean id="jbpmDataSource" 
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  |         <property 
name="driverClassName"><value>oracle.jdbc.driver.OracleDriver</value></property>
  |         <property 
name="url"><value>jdbc:oracle:thin:@srv-ora:1521:orcl</value></property>
  |         <!-- property name="username"><value>build</value></property>
  |         <property name="password"><value>build</value></property -->
  |         <property name="username"><value>jbpm</value></property>
  |         <property name="password"><value>jbpm</value></property>
  |     </bean>
  | 
  |     <!-- JBPM Hibernate SessionFactory -->
  |     <bean id="jbpmSessionFactory" 
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
  |         <property name="dataSource" ref="jbpmDataSource"/>
  |         <property name="mappingLocations">
  |             <value>classpath*:/org/jbpm/**/*.hbm.xml</value>
  |         </property>
  | 
  |         <property name="hibernateProperties">
  |             <props>
  |                 <prop 
key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
  |                 <prop 
key="hibernate.cache.use_second_level_cache">false</prop>
  |                 <prop key="hibernate.cache.use_query_cache">false</prop> 
  | 
  |                 <prop key="hibernate.hbm2ddl.auto">update</prop>
  |                          </props>
  |         </property>
  |     </bean>

Nothing else

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043500#4043500

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043500
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to