Want more features on Pastebin? Sign Up, it's FREE!
Guest

hibernate.cfg.xml

By: a guest on May 9th, 2012  |  syntax: XML  |  size: 0.87 KB  |  views: 14  |  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.  
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  4. <hibernate-configuration>
  5.   <session-factory>
  6.     <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  7.     <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  8.     <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/bruno</property>
  9.     <property name="hibernate.connection.username">bruno</property>
  10.     <property name="hibernate.connection.password">bruno</property>
  11.     <property name="hibernate.hbm2ddl.auto">create</property>
  12.  
  13.     <property name="hibernate.show_sql">true</property>  
  14.     <property name="hibernate.format_sql">true</property>
  15.    
  16.   </session-factory>
  17. </hibernate-configuration>
clone this paste RAW Paste Data