hi,
i have this error, can you help me plz
Code:
9 avr. 2009 11:14:01 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.3.1.GA
9 avr. 2009 11:14:01 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
9 avr. 2009 11:14:01 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : javassist
9 avr. 2009 11:14:01 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
9 avr. 2009 11:14:01 org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
9 avr. 2009 11:14:01 org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
9 avr. 2009 11:14:01 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : HibTest/rsyncBean/Personne.hbm.xml
9 avr. 2009 11:14:01 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: HibTest.rsyncBean.Personne -> personne
9 avr. 2009 11:14:01 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : HibTest/rsyncBean/Compte.hbm.xml
9 avr. 2009 11:14:01 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: HibTest.rsyncBean.Compte -> compte
9 avr. 2009 11:14:01 org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for: String, at table: personne, for columns: [org.hibernate.mapping.Column(EMAIL)]
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibTest.rsyncModel.HibernateUtil.<clinit>(HibernateUtil.java:30)
at HibTest.rsyncModel.EventManager.getPersonne(EventManager.java:30)
at HibTest.rsyncModel.EventManager.main(EventManager.java:21)
Caused by: org.hibernate.MappingException: Could not determine type for: String, at table: personne, for columns: [org.hibernate.mapping.Column(EMAIL)]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:292)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:276)
at org.hibernate.mapping.Property.isValid(Property.java:207)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:458)
at org.hibernate.mapping.RootClass.validate(RootClass.java:215)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1135)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1320)
at HibTest.rsyncModel.HibernateUtil.<clinit>(HibernateUtil.java:25)
... 2 more