Je forward ton message sur topia-devel, car je n'ai pas le temps de te repondre, et il y a d'autres personnes qui peuvent repondre. ----- Message Transféré ----- Date: Fri, 27 Feb 2009 12:53:07 +0000 De: Erwan Nema <nemawan@hotmail.com> Ã: <poussin@codelutin.com>, <zhykos@gmail.com> Sujet: topia-contexte hibernate exception Bonjour nous sommes toujours bloqués sur la connexion à la BDD H2. pour nos tests nous utilisons un projet maven simple (sans modules) et un diagramme argoUML contenant une seul classe entity. les fichiers de mappings sont correctement générés. le fichier de property H2 est correctement chargé. la tentative de création de l'entité génère l'exception suivante : Chargement du fichier de properties hibernate.hbm2ddl.auto:create hibernate.dialect:org.hibernate.dialect.H2Dialect Context loaded..... WARN [main] (UserSuppliedConnectionProvider.java:46) configure - No connection properties specified - the user must supply JDBC connections org.hibernate.HibernateException: Hibernate Dialect must be explicitly set at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:80) at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:62) at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:460) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:155) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325) at org.codelutin.topia.framework.TopiaContextImpl.getHibernateFactory(TopiaContextImpl.java:450) at org.codelutin.topia.framework.TopiaContextImpl.beginTransaction(TopiaContextImpl.java:663) at org.codelutin.pollen.TestPersistence.persist(TestPersistence.java:40) at org.codelutin.pollen.TestPersistence.main(TestPersistence.java:66) Vous trouverez joint notre projet (pom,zargo,classe de test ) ainsi qu'une trace du classpath parallélement nous avons posté ce problème sur la liste Topia user. merci de votre aide Cordialement Erwan Nema _________________________________________________________________ Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant ! http://www.windowslive.fr/messenger/1.asp -- Benjamin -------------------- tél: +33 (0) 2 40 50 29 28 email: poussin@codelutin.com () campagne du ruban ascii http://www.codelutin.com /\ pour les mails en ascii