Guest User

Untitled

a guest
May 15th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. "The database drivers are not added to the project classpath."
  2. "Go to project properties to add database library.".
  3.  
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  6. <hibernate-configuration>
  7. <session-factory>
  8. <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  9. <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  10. <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/sakila</property>
  11. <property name="hibernate.connection.username">root</property>
  12. <property name="hibernate.connection.password">apassword</property>
  13. <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
  14. </session-factory>
  15. </hibernate-configuration>
Add Comment
Please, Sign In to add comment