1 pièce(s) jointe(s)
probleme au lancement d'hibernate !
bonjour tous le monde !
lorsque je lance hibernate il se bloque ici << Cleaning up connection pool >> :
Pièce jointe 344903
mon fichier de configuration :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/eshop_db</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.current_session_context_class">thread</property>
<property name="hibernate.hbm2ddl.auto">create</property>
<mapping class="ma.eshop.Entity.Article"/>
<mapping class="ma.eshop.Entity.Client"/>
<mapping class="ma.eshop.Entity.Client_Cmd"/>
<mapping class="ma.eshop.Entity.Client_Cmd_Pk"/>
<mapping class="ma.eshop.Entity.Commande"/>
</session-factory>
</hibernate-configuration> |