[Hibernate]Migration vers 3.1 et "could not instantiate id generator"

Migration vers 3.1 et "could not instantiate id generator" [Hibernate] - Java - Programmation

Marsh Posté le 22-05-2007 à 14:40:25    

Bonjour,
Je tente de migrer mon hibernate 2 en hibernate 3.1. J'ai suivi le guide de migration, changer mes session.find, mes dtd 2 et mes net.sf.hibernate. Tout compile, mais dès le lancement de la 1ère page de mon appli web, j'ai une belle erreur.
En ayant creusé et grâce au logs, Je me rends compte que tout l'erreur intervient dans un setSessionFactory.
 
Code déclenchant l'erreur

Citation :

public static void initialize (String configFileName) throws HibernateException {
  logger.info("Entrée dans initialize" );
  if (null == configFileName && sessionFactoryMap.size() > 0){
   logger.info("null == configFileName && sessionFactoryMap.size() > 0" );
   return;
  }
  else if (null != sessionFactoryMap.get(configFileName)) {
   logger.info("null != sessionFactoryMap.get(configFileName)" );
   return;
  }
  else {
   logger.info("Avant Configuration" );
   Configuration cfg = new Configuration();
   logger.info("Après Configuration" );
   if (null == configFileName) {
    logger.info("null == configFileName" );
    cfg.configure();
   }else {
    logger.info("null != configFileName" );
    cfg.configure(configFileName);
   }
   logger.info("setSessionFactory(configFileName, cfg.buildSessionFactory())" );
   setSessionFactory(configFileName, cfg.buildSessionFactory());
   logger.info("setSessionFactory effectué" );
  }


 
Le fichier de log avec les erreurs

Citation :

2007-05-21 17:44:36 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
2007-05-21 17:44:36 INFO  [FacesConfigurator] Reading config jar:file:/C:/DOCUME~1/DEVELOP6/LOCALS~1/Temp/myfaces41052.jar!/META-INF/faces-config.xml
2007-05-21 17:44:36 INFO  [FacesConfigurator] Reading config jar:file:/C:/DOCUME~1/DEVELOP6/LOCALS~1/Temp/myfaces41053.jar!/META-INF/faces-config.xml
2007-05-21 17:44:37 INFO  [FacesConfigurator] Reading config jar:file:/C:/DOCUME~1/DEVELOP6/LOCALS~1/Temp/myfaces41054.jar!/META-INF/faces-config.xml
2007-05-21 17:44:37 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
2007-05-21 17:44:37 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
2007-05-21 17:44:38 INFO  [StartupServletContextListener] ServletContext C:\JOnAS-4.3.5\work\webapps\jonas\extranet_formation\ initialized.
2007-05-21 17:44:49 INFO  [LoginBean] entrée dans donneValParam
2007-05-21 17:44:49 INFO  [LoginBean] entrée dans donneValParam
2007-05-21 17:44:49 INFO  [Parametres] com.bull.crnpc.hibernate.dao._RootDAO.initialize()
2007-05-21 17:44:49 INFO  [Parametres] com.bull.crnpc.hibernate.dao._RootDAO.initialize()
[COLOR="Green"]2007-05-21 17:44:49 INFO  [_BaseRootDAO] Entrée dans initialize
2007-05-21 17:44:49 INFO  [_BaseRootDAO] Entrée dans initialize[/COLOR]
[COLOR="Green"]2007-05-21 17:44:49 INFO  [_BaseRootDAO] Avant Configuration
2007-05-21 17:44:49 INFO  [_BaseRootDAO] Avant Configuration[/COLOR]
2007-05-21 17:44:49 INFO  [Environment] Hibernate 3.1.3
2007-05-21 17:44:49 INFO  [Environment] hibernate.properties not found
2007-05-21 17:44:49 INFO  [Environment] using CGLIB reflection optimizer
2007-05-21 17:44:49 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
[COLOR="Green"]2007-05-21 17:44:49 INFO  [_BaseRootDAO] Après Configuration
2007-05-21 17:44:49 INFO  [_BaseRootDAO] Après Configuration
2007-05-21 17:44:49 INFO  [_BaseRootDAO] null == configFileName
2007-05-21 17:44:49 INFO  [_BaseRootDAO] null == configFileName[/COLOR]
2007-05-21 17:44:49 INFO  [Configuration] configuring from resource: /hibernate.cfg.xml
2007-05-21 17:44:49 INFO  [Configuration] Configuration resource: /hibernate.cfg.xml
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: StatutSuiviValidation.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.StatutSuiviValidation -> STATUT_SUIVI_VALIDATION
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeActivites.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeActivites -> TE_ACTIVITES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeAntennes.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeAntennes -> TE_ANTENNES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeBalAffectes.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeBalAffectes -> TE_BAL_AFFECTES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeCategorie.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeCategorie -> TE_CATEGORIE
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeCfa.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeCfa -> TE_CFA
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeCheminRubrique.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeCheminRubrique -> TE_CHEMIN_RUBRIQUE
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeCleExtraCompta.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeCleExtraCompta -> TE_CLE_EXTRA_COMPTA
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeComptes.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeComptes -> TE_COMPTES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeComptesResultat.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeComptesResultat -> TE_COMPTES_RESULTAT
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeControle.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeControle -> TE_CONTROLE
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeDetailComptes.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeDetailComptes -> TE_DETAIL_COMPTES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeDiplomes.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeDiplomes -> TE_DIPLOMES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeDonnees.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeDonnees -> TE_DONNEES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeDroitModule.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeDroitModule -> TE_DROIT_MODULE
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeEffectifs.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeEffectifs -> TE_EFFECTIFS
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeEmploi.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeEmploi -> TE_EMPLOI
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeEnvoyees.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeEnvoyees -> TE_ENVOYEES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeExercices.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeExercices -> TE_EXERCICES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeExtraCompta.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeExtraCompta -> TE_EXTRA_COMPTA
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeFichiersDonnees.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeFichiersDonnees -> TE_FICHIERS_DONNEES
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeFonction.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeFonction -> TE_FONCTION
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeFormations.hbm
2007-05-21 17:44:50 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeFormations -> TE_FORMATIONS
2007-05-21 17:44:50 INFO  [Configuration] Reading mappings from resource: TeFormationsAn.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeFormationsAn -> TE_FORMATIONS_AN
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeGpeCategoriecompte.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeGpeCategoriecompte -> TE_GPE_CATEGORIECOMPTE
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeHeuresCoherence.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeHeuresCoherence -> TE_HEURES_COHERENCE
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeHeuresPersonnes.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeHeuresPersonnes -> TE_HEURES_PERSONNES
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeHeuresSuivi.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeHeuresSuivi -> TE_HEURES_SUIVI
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeLienCleCpte.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeLienCleCpte -> TE_LIEN_CLE_CPTE
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeModuleExtranet.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeModuleExtranet -> TE_MODULE_EXTRANET
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeNomFichier.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeNomFichier -> TE_NOM_FICHIER
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeParametre.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeParametre -> TE_PARAMETRE
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TePersonnel.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TePersonnel -> TE_PERSONNEL
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeProfilUtil.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeProfilUtil -> TE_PROFIL_UTIL
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeRefVariableXtra.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeRefVariableXtra -> TE_REF_VARIABLE_XTRA
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeRepartition.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeRepartition -> TE_REPARTITION
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeRepartitionChrgPerso.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeRepartitionChrgPerso -> TE_REPARTITION_CHRG_PERSO
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeReserve.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeReserve -> TE_RESERVE
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeReserveValidation.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeReserveValidation -> TE_RESERVE_VALIDATION
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeSaisieExercicePr.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeSaisieExercicePr -> TE_SAISIE_EXERCICE_PR
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeSalaires.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeSalaires -> TE_SALAIRES
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeSections.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeSections -> TE_SECTIONS
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeStatut.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeStatut -> TE_STATUT
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeSuiviExercicePrCfa.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeSuiviExercicePrCfa -> TE_SUIVI_EXERCICE_PR_CFA
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeTableauXtra.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeTableauXtra -> TE_TABLEAU_XTRA
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeTitreExtraCompta.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeTitreExtraCompta -> TE_TITRE_EXTRA_COMPTA
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeTranspoCompte.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeTranspoCompte -> TE_TRANSPO_COMPTE
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeTypePr.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeTypePr -> TE_TYPE_PR
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeUtilisateur.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeUtilisateur -> TE_UTILISATEUR
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeValParametreCfa.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeValParametreCfa -> TE_VAL_PARAMETRE_CFA
2007-05-21 17:44:51 INFO  [Configuration] Reading mappings from resource: TeVariableExtraCompta.hbm
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping class: com.bull.crnpc.hibernate.TeVariableExtraCompta -> TE_VARIABLE_EXTRA_COMPTA
2007-05-21 17:44:51 INFO  [Configuration] Configured SessionFactory: sfdev
2007-05-21 17:44:51 INFO  [_BaseRootDAO] setSessionFactory(configFileName, cfg.buildSessionFactory())
2007-05-21 17:44:51 INFO  [_BaseRootDAO] setSessionFactory(configFileName, cfg.buildSessionFactory())
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping collection: com.bull.crnpc.hibernate.TeCfa.cfaUtilisateur -> TE_UTILISATEUR
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping collection: com.bull.crnpc.hibernate.TeCfa.cfaAntenne -> TE_ANTENNES
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping collection: com.bull.crnpc.hibernate.TeParametre.param -> TE_VAL_PARAMETRE_CFA
2007-05-21 17:44:51 INFO  [HbmBinder] Mapping collection: com.bull.crnpc.hibernate.TeProfilUtil.profilUtil -> TE_UTILISATEUR
2007-05-21 17:44:52 INFO  [NamingHelper] JNDI InitialContext properties:{}
2007-05-21 17:44:52 INFO  [DatasourceConnectionProvider] Using datasource: EXTRANET_FORM
2007-05-21 17:44:52 INFO  [SettingsFactory] RDBMS: MySQL, version: 4.1.20
2007-05-21 17:44:52 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.8 ( $Date: 2005/04/14 20:36:13 $, $Revision: 1.27.4.64 $ )
2007-05-21 17:44:52 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
2007-05-21 17:44:52 INFO  [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
2007-05-21 17:44:52 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2007-05-21 17:44:52 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] JDBC batch size: 15
2007-05-21 17:44:52 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Scrollable result sets: enabled
2007-05-21 17:44:52 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Connection release mode: auto
2007-05-21 17:44:52 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
2007-05-21 17:44:52 INFO  [SettingsFactory] Default batch fetch size: 1
2007-05-21 17:44:52 INFO  [SettingsFactory] Generate SQL with comments: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2007-05-21 17:44:52 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
2007-05-21 17:44:52 INFO  [SettingsFactory] Query language substitutions: {}
2007-05-21 17:44:52 INFO  [SettingsFactory] Second-level cache: enabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Query cache: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
2007-05-21 17:44:52 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Structured second-level cache entries: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Statistics: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
2007-05-21 17:44:52 INFO  [SettingsFactory] Default entity-mode: pojo
2007-05-21 17:44:52 INFO  [SessionFactoryImpl] building session factory
2007-05-21 17:44:52 WARN  [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: file:/C:/JOnAS-4.3.5/work/jonas/localhost/extranet_formation/loader/ehcache-failsafe.xml
[COLOR="Red"]2007-05-21 17:44:52 ERROR [Parametres] HibernateException - donneValParam could not instantiate id generator
2007-05-21 17:44:52 ERROR [Parametres] HibernateException - donneValParam could not instantiate id generator
2007-05-21 17:44:52 ERROR [HtmlLayoutRenderer] PanelLayout must not have children, only facets allowed![/COLOR]


Le code qui catch l'exception

Citation :

public String donneValParam(String nom)
{
 String val = null;
 TeParametreDAO dao;
    try {
  List list = null;
  logger.info("com.bull.crnpc.hibernate.dao._RootDAO.initialize()" );
        [COLOR="DarkOrange"]com.bull.crnpc.hibernate.dao._RootDAO.initialize();[/COLOR]
        logger.info("TeParametreDAO.getInstance()" );
        dao = TeParametreDAO.getInstance();
        logger.info("Requete" );
        list = dao.find("from TeParametre p where p.NomParametre='"+nom+"'" );
  if (list!=null){
   logger.info("list!=null" );
   TeParametre u;
   for (Iterator it=list.iterator();it.hasNext();) {
    u = (TeParametre)it.next();
    val = u.getGValeurParam();
   }
  }
    }
    catch (HibernateException e){
     logger.error("HibernateException - donneValParam "+e.getMessage());
    }
    return val;
}


J'ai mis en vert les logs correspondants au code générant l'erreur, en rouge les logs d'erreur et en orange la méthode lance l'exception
Quelqu'un aurait un soupçon d'idée ? Parce que là, je nage complètement.
J'espère avoir été clair.
Merci d'avance.

Reply

Marsh Posté le 22-05-2007 à 14:40:25   

Reply

Marsh Posté le 23-05-2007 à 10:03:11    

J'ai peut-être trouvé quelque chose.
Dans mon fichier de mapping, mon "generator class = vm". A quoi ça correspond exactement ? C'est une classe ?
Vu qu'elle est pas intégrée, est-ce encore compatible avec Hibernate 3 ?

Reply

Marsh Posté le 23-05-2007 à 11:41:15    

C'était un conflit de jar

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed