i tried replacing the list by a set, and the problem is still the same, here is hibernate log (there is no error, but it stops there, while my hibernate session object is not created - as explained in the beginning of this thread) :
Code:
15:15:40,349 DEBUG org.hibernate.cfg.Configuration 1678 <main> null<-org.dom4j.tree.DefaultAttribute@b6a6d6 [Attribute: name resource value "hbmPlates.xml"]
15:15:40,349 INFO org.hibernate.cfg.Configuration 655 <main> Reading mappings from resource : hbmPlates.xml
15:15:40,350 DEBUG org.hibernate.util.DTDEntityResolver 64 <main> trying to resolve system-id [http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd]
15:15:41,835 INFO org.hibernate.cfg.HbmBinder 348 <main> Mapping class: com.andromas.bgp.web.core.model.platetype.SpectrometerType -> SPECTROMETERS
15:15:41,835 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: id -> SPECTRO_ID
15:15:41,835 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: provider -> PROVIDER
15:15:41,836 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: deliveryDate -> DELIVERY_DATE
15:15:41,836 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: lastCleanupDate -> LAST_CLEANUP_DATE
15:15:41,836 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: room -> ROOM
15:15:41,836 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: address -> ADDRESS
15:15:41,836 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: contactMail -> CONTACT_MAIL
15:15:41,837 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: contactPhone -> CONTACT_PHONE
15:15:41,838 INFO org.hibernate.cfg.HbmBinder 348 <main> Mapping class: com.andromas.bgp.web.core.model.platetype.WellInfo -> WELLS
15:15:41,874 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: parentPlate -> PARENT_PLATE
15:15:41,874 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: name -> NAME
15:15:41,874 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: id -> PARENT_PLATE, NAME
15:15:41,875 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: index -> INDEX
15:15:41,875 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: wellOrder -> WELL_ORDER
15:15:41,875 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: barcode -> BARCODE
15:15:41,875 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: method -> METHOD
15:15:41,875 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: needAcquisition -> NEED_ACQUISITION
15:15:41,876 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: identificationResults
15:15:41,876 INFO org.hibernate.cfg.HbmBinder 348 <main> Mapping class: com.andromas.bgp.web.core.model.platetype.IdentificationResultType -> IDENTIFICATION_RESULTS
15:15:41,877 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: id -> IDENT_ID
15:15:41,877 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: index -> INDEX
15:15:41,877 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: timestamp -> TIMESTAMP
15:15:41,877 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: spectrometer -> SPECTROMETER
15:15:41,877 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: well -> WELL
15:15:41,878 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: preDiagnosis -> PRE_DIAGNOSIS
15:15:41,878 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: diagnosis -> DIAGNOSIS
15:15:41,878 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: score -> SCORE
15:15:41,878 DEBUG org.hibernate.cfg.HbmBinder 1335 <main> Mapped property: comment -> COMMENT
15:15:41,878 INFO org.hibernate.cfg.Configuration 1633 <main> Configured SessionFactory: null
15:15:41,879 DEBUG org.hibernate.cfg.Configuration 1634 <main> properties: {show_sql=true, java.vendor=Sun Microsystems Inc., sun.java.launcher=SUN_STANDARD, hibernate.connection.url=jdbc:hsqldb:file:./data/hsqldb/database, sun.management.compiler=HotSpot Client Compiler, c3p0.min_size=5, hbm2ddl.auto=update, os.name=Windows 7, sun.boot.class.path=C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\classes, hibernate.current_session_context_class=thread, sun.desktop=windows, hibernate.c3p0.max_size=20, java.vm.specification.vendor=Sun Microsystems Inc., c3p0.max_size=20, java.runtime.version=1.6.0_22-b04, hibernate.c3p0.min_size=5, hibernate.cache.provider_class=org.hibernate.cache.NoCacheProvider, user.name=max, connection.driver_class=org.hsqldb.jdbcDriver, current_session_context_class=thread, hibernate.c3p0.timeout=300, user.language=fr, sun.boot.library.path=C:\Program Files\Java\jre6\bin, dialect=org.hibernate.dialect.HSQLDialect, java.version=1.6.0_22, user.timezone=Europe/Paris, sun.arch.data.model=32, java.endorsed.dirs=C:\Program Files\Java\jre6\lib\endorsed, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, java.class.version=50.0, user.country=FR, connection.url=jdbc:hsqldb:file:./data/hsqldb/database, java.home=C:\Program Files\Java\jre6, java.vm.info=mixed mode, sharing, os.version=6.1, path.separator=;, c3p0.idle_test_period=3000, connection.password=, java.vm.version=17.1-b03, hibernate.connection.password=, user.variant=, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=sa, user.home=C:\Users\max, java.specification.vendor=Sun Microsystems Inc., hibernate.hbm2ddl.auto=update, java.library.path=C:\Windows\system32;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;%JAVA_HOME%\bin;%JAVA_HOME%\lib;C:\Program Files\apache-maven-3.0\bin;C:\Program Files\SlikSvn\bin\, java.vendor.url=http://java.sun.com/, hibernate.connection.driver_class=org.hsqldb.jdbcDriver, connection.username=sa, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.HSQLDialect, java.runtime.name=Java(TM) SE Runtime Environment, java.class.path=C:\Users\max\Documents\AndromasTest\bgp-server\lib\commons-logging-1.1.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jetty-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jetty-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jetty-util-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jetty-util-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\servlet-api-2.5-20081211.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\servlet-api-2.5-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jsp-2.1\ant-1.6.5.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jsp-2.1\core-3.1.1.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jsp-2.1\jsp-2.1.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\jsp-2.1\jsp-api-2.1.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\management\jetty-management-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\management\jetty-management-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\naming\activation-1.1.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\naming\jetty-naming-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\naming\jetty-naming-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\naming\mail-1.4.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\plus\jetty-plus-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\xbean\jetty-xbean-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\xbean\jetty-xbean-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\annotations\geronimo-annotation_1.0_spec-1.0.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\annotations\jetty-annotations-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\annotations\jetty-annotations-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-ajp-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-ajp-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-client-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-client-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-html-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-html-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-java5-stats-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-java5-threadpool-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-java5-threadpool-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-ldap-jaas-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-rewrite-handler-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-servlet-tester-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-servlet-tester-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-setuid-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-setuid-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-sslengine-6.1.10.jar;C:\Users\max\Documents\AndromasTest\bgp-server\lib\ext\jetty-sslengine-6.1.20.jar;C:\Users\max\Documents\AndromasTest\bgp-server\resources, hibernate.bytecode.use_reflection_optimizer=false, c3p0.timeout=300, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=, java.io.tmpdir=C:\Users\max\AppData\Local\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext, user.dir=C:\Users\max\Documents\AndromasTest\bgp-server, hibernate.c3p0.idle_test_period=3000, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, cache.provider_class=org.hibernate.cache.NoCacheProvider, file.encoding=Cp1252, java.specification.version=1.6, c3p0.max_statements=50, jetty.home=C:\Users\max\Documents\AndromasTest\bgp-server, hibernate.show_sql=true, hibernate.c3p0.max_statements=50}
15:15:41,879 DEBUG org.hibernate.cfg.Configuration 1376 <main> Preparing to build session factory with filters : {}
15:15:41,879 DEBUG org.hibernate.cfg.Configuration 1211 <main> processing extends queue
15:15:41,880 DEBUG org.hibernate.cfg.Configuration 1215 <main> processing collection mappings
15:15:41,880 DEBUG org.hibernate.cfg.CollectionSecondPass 64 <main> Second pass for collection: com.andromas.bgp.web.core.model.platetype.PlateType.wells
15:15:41,880 INFO org.hibernate.cfg.HbmBinder 2473 <main> Mapping collection: com.andromas.bgp.web.core.model.platetype.PlateType.wells -> WELLS
15:15:41,881 DEBUG org.hibernate.cfg.CollectionSecondPass 80 <main> Mapped collection key: PARENT_PLATE, index: index, one-to-many: com.andromas.bgp.web.core.model.platetype.WellInfo
15:15:41,881 DEBUG org.hibernate.cfg.CollectionSecondPass 64 <main> Second pass for collection: com.andromas.bgp.web.core.model.platetype.WellInfo.identificationResults
15:15:41,881 INFO org.hibernate.cfg.HbmBinder 2473 <main> Mapping collection: com.andromas.bgp.web.core.model.platetype.WellInfo.identificationResults -> IDENTIFICATION_RESULTS
15:15:41,882 DEBUG org.hibernate.cfg.CollectionSecondPass 80 <main> Mapped collection key: WELL, one-to-many: com.andromas.bgp.web.core.model.platetype.IdentificationResultType
15:15:41,882 DEBUG org.hibernate.cfg.Configuration 1226 <main> processing native query and ResultSetMapping mappings
15:15:41,882 DEBUG org.hibernate.cfg.Configuration 1234 <main> processing association property references
15:15:41,882 DEBUG org.hibernate.cfg.Configuration 1256 <main> processing foreign key constraints
15:15:41,883 DEBUG org.hibernate.cfg.Configuration 1339 <main> resolving reference to class: com.andromas.bgp.web.core.model.platetype.SpectrometerType
15:15:41,883 DEBUG org.hibernate.cfg.Configuration 1339 <main> resolving reference to class: com.andromas.bgp.web.core.model.platetype.WellInfo
thanks if you can help :)