Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 16th, 2011  |  syntax: XML  |  size: 0.84 KB  |  views: 68  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.