SHARE
TWEET

Untitled

a guest Oct 16th, 2011 108 Never
  1. <hibernate-configuration>
  2.  
  3. <session-factory>
  4.  
  5.     <!-- Database Connection Properties -->
  6.     <property name="hibernate.connection.driver_class">oracle.jdbc.OracleDriver</property>
  7.     <property name="hibernate.connection.url">jdbc:Oracle:thin:@127.0.0.1:8080/slyvronline</property>
  8.     <property name="hibernate.connection.username">YouNoGetMyLoginInfo</property>
  9.     <property name="hibernate.connection.password">YouNoGetMyLoginInfo</property>
  10.     <property name="hibernate.connection.pool_size">10</property>
  11.     <property name="dialect">org.hibernate.dialect.OracleDialect</property>
  12.  
  13.     <!-- Other -->
  14.     <property name="show_sql">true</property>
  15.     <property name="hibernate.hbm2ddl.auto">validate</property>
  16.  
  17.     <!-- Mapping files -->
  18.     <mapping class="com.slyvr.pojo.Person"/>
  19. </session-factory>
  20.  
  21. </hibernate-configuration>
  22.  
RAW Paste Data
Top