SHARE
TWEET

Untitled

a guest Mar 20th, 2016 22 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!DOCTYPE hibernate-configuration PUBLIC
  3.         "-//Hibernate/Hibernate Configuration DTD//EN"
  4.         "http://www.hibernate.org/dtd/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:3306/epamex</property>
  9.         <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
  10.  
  11.         <!-- NOTE that after automapping with IDEA property username and password will delete -->
  12.         <!--and will be:  Initial SessionFactory failedorg.hibernate.service.spi.ServiceException: Unable to create requested service-->
  13.  
  14.         <mapping class="ua.danni.db.bean.BanlistEntity"/>
  15.  
  16.         <mapping class="ua.danni.db.bean.CoursesEntity"/>
  17.  
  18.         <mapping class="ua.danni.db.bean.GroupsEntity"/>
  19.  
  20.         <mapping class="ua.danni.db.bean.JournalEntity"/>
  21.  
  22.         <mapping class="ua.danni.db.bean.UserEntity"/>
  23.  
  24.     </session-factory>
  25. </hibernate-configuration>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top