in fact i have a lot of errors
Code:
14 avr. 2009 14:53:42 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
14 avr. 2009 14:53:42 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
14 avr. 2009 14:53:42 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
14 avr. 2009 14:53:42 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
14 avr. 2009 14:53:42 org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
14 avr. 2009 14:53:42 org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
14 avr. 2009 14:53:42 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : com/test/rsyncBean/Personne.hbm.xml
14 avr. 2009 14:53:42 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.test.rsyncBean.Personne -> personne
14 avr. 2009 14:53:42 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : com/test/rsyncBean/Compte.hbm.xml
14 avr. 2009 14:53:42 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.test.rsyncBean.Compte -> compte
14 avr. 2009 14:53:42 org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(PASSWORD)]
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.test.rsyncModel.HibernateUtil.<clinit>(HibernateUtil.java:30)
at com.test.rsyncModel.EventManager.getPersonne(EventManager.java:29)
at com.test.rsyncModel.EventManager.main(EventManager.java:20)
Caused by: org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(PASSWORD)]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253)
at org.hibernate.mapping.Property.isValid(Property.java:185)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:440)
at org.hibernate.mapping.RootClass.validate(RootClass.java:192)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1102)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1287)
at com.test.rsyncModel.HibernateUtil.<clinit>(HibernateUtil.java:25)
... 2 more
Java Result: 1
[/quote]