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 Jul 26th, 2010  |  syntax: XML  |  size: 0.81 KB  |  views: 90  |  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. <?xml version='1.0' encoding='utf-8'?>
  2. <!DOCTYPE hibernate-configuration PUBLIC
  3.        "-//Hibernate/Hibernate Configuration DTD//EN"
  4.        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  5. <hibernate-configuration>
  6.     <session-factory>
  7.         <property name="hibernate.dialect"> org.hibernate.dialect.MySQLDialect</property>
  8.         <property name="connection.url">jdbc:mysql://localhost/TRACKS</property>
  9.         <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
  10.         <property name="connection.username">root</property>
  11.         <property name="connection.password"></property>
  12.         <property name="hbm2ddl.auto">create</property>
  13.                
  14.         <mapping resource="com/track/Track.hbm.xml"></mapping>
  15.     </session-factory>
  16. </hibernate-configuration>