Bonjour à tous,

Je rencontre deux problèmes qui sont peut être lié, je dois créer un projet en J2E et je me suis réorienté sur ces frameworks suivants: Hibernate, Spring et JSF
J'utilise également maven pour builder mon projet.
Je n'utilise que des annotations que ça soit pour hibernate et Spring.

Lorsque je deplois mon projet sous jboss 4.2.3.GA j'ai ce message d'erreur:

13:11:20,922 ERROR [STDERR] 36 [main] INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.5.1-Final
13:11:20,935 ERROR [STDERR] 49 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.5.1-Final
13:11:20,938 ERROR [STDERR] 52 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
13:11:20,942 ERROR [STDERR] 55 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
13:11:20,945 ERROR [STDERR] 59 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
13:11:21,255 ERROR [STDERR] 369 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
13:11:21,315 ERROR [STDERR] 429 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Absence
13:11:21,356 ERROR [STDERR] 469 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Absence on table absence
13:11:21,418 ERROR [STDERR] 532 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Classe
13:11:21,419 ERROR [STDERR] 533 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Classe on table classe
13:11:21,420 ERROR [STDERR] 534 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Cours
13:11:21,420 ERROR [STDERR] 534 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Cours on table cours
13:11:21,424 ERROR [STDERR] 538 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Etudiant
13:11:21,424 ERROR [STDERR] 538 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Etudiant on table etudiant
13:11:21,427 ERROR [STDERR] 541 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Examen
13:11:21,427 ERROR [STDERR] 541 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Examen on table examen
13:11:21,429 ERROR [STDERR] 543 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Matiere
13:11:21,430 ERROR [STDERR] 544 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Matiere on table matiere
13:11:21,430 ERROR [STDERR] 544 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Note
13:11:21,430 ERROR [STDERR] 544 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Note on table note
13:11:21,432 ERROR [STDERR] 546 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.TypeUtilisateur
13:11:21,432 ERROR [STDERR] 546 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.TypeUtilisateur on table type_utilisateur
13:11:21,433 ERROR [STDERR] 547 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.insia.gm3.persistence.bm.Utilisateur
13:11:21,433 ERROR [STDERR] 547 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.insia.gm3.persistence.bm.Utilisateur on table utilisateur
13:11:21,500 ERROR [STDERR] 614 [main] INFO org.hibernate.validator.Version - Hibernate Validator 3.1.0.GA
13:11:21,523 INFO [AnnotationSessionFactoryBean] Building new Hibernate SessionFactory
13:11:21,554 ERROR [STDERR] 668 [main] INFO org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
13:11:21,941 ERROR [STDERR] 1055 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL, version: 5.1.45-community
13:11:21,941 ERROR [STDERR] 1055 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
13:11:21,967 ERROR [STDERR] 1081 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
13:11:21,972 ERROR [STDERR] 1086 [main] INFO org.hibernate.engine.jdbc.JdbcSupportLoader - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
13:11:21,973 ERROR [STDERR] 1087 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
13:11:21,973 ERROR [STDERR] 1087 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
13:11:21,973 ERROR [STDERR] 1087 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
13:11:21,973 ERROR [STDERR] 1087 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
13:11:21,974 ERROR [STDERR] 1088 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
13:11:21,974 ERROR [STDERR] 1088 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
13:11:21,974 ERROR [STDERR] 1088 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
13:11:21,974 ERROR [STDERR] 1088 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
13:11:21,974 ERROR [STDERR] 1088 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
13:11:21,975 ERROR [STDERR] 1089 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2
13:11:21,975 ERROR [STDERR] 1089 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
13:11:21,975 ERROR [STDERR] 1089 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
13:11:21,975 ERROR [STDERR] 1089 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
13:11:21,975 ERROR [STDERR] 1089 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
13:11:21,975 ERROR [STDERR] 1089 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
13:11:21,977 ERROR [STDERR] 1091 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
13:11:21,978 ERROR [STDERR] 1092 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
13:11:21,982 ERROR [STDERR] 1096 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
13:11:21,983 ERROR [STDERR] 1097 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
13:11:21,983 ERROR [STDERR] 1097 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
13:11:21,983 ERROR [STDERR] 1097 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
13:11:21,983 ERROR [STDERR] 1097 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
13:11:21,983 ERROR [STDERR] 1097 [main] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
13:11:22,021 ERROR [STDERR] 1135 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
13:11:22,533 ERROR [STDERR] 1647 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured

Je rappelle également que j'ai ce même erreur sous jboss 5.1.0.GA et sous glassfish.
Ca vient donc de la configuration de mon projet.

Le fichier applicationContext.xml se trouve à cette adresse:
http://code.google.com/p/gm3/source/...ionContext.xml

web.xml:
http://code.google.com/p/gm3/source/...EB-INF/web.xml

Et j'utilise un fichier *-DS.xml:
http://code.google.com/p/gm3/source/...ces/gm3-ds.xml

Et mon fichier pom.xml:
http://code.google.com/p/gm3/source/...nk/gm3/pom.xml

N'y a t-il pas une incompatibilité de la version de Hibernate?

Et mon deuxième problème est que je n'arrive pas à supprimer ou modifier une entité via une DAO mais j'arrive à ajouter :s

Enfin bref.. Merci de votre attention
Bonne journée,