Here is my hibernate.cfg.xml

  | <?xml version='1.0' encoding='utf-8'?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  |         "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  |         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | <hibernate-configuration>
  |     <session-factory>
  |         <property 
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
  |         <property 
name="connection.url">jdbc:oracle:thin:@db:1521:DB</property>
  |         <property name="connection.username">user</property>
  |         <property name="connection.password">pw</property>
  |         <property name="connection.pool_size">1</property>
  | 
  |         <property name="current_session_context_class">thread</property>
  | 
  |         <property 
name="dialect">org.hibernate.dialect.OracleDialect</property>
  | 
  |         <property name="show_sql">true</property>
  | 
  |         <property 
name="hibernate.cache.provider_class">org.hibernate.cache.TreeCacheProvider</property>
  |         
  |         <property name="hibernate.generate_statistics">true</property>
  |         <property 
name="hibernate.cache.use_structured_entries">true</property>
  |         <mapping resource="Category.hbm.xml"/>
  | 
  |     </session-factory>
  | 
  | </hibernate-configuration>
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932469


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to