Thanks for the reply
gonzao_diaz, but the solution you provided didn't work in the Hibernate version that I'm currently using.
A piece of the debug code (as you can see, the value of the parameters
? not appears ):
Code:
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (AbstractBatcher.java:401) -
insert
into
thesis
(ths_auth, ths_date, ths_desc, ths_dire, ths_earn_title, ths_facul, ths_file, ths_title, ths_univ, ths_year)
values
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (AbstractBatcher.java:374) - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (AbstractBatcher.java:366) - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (AbstractBatcher.java:401) -
select
currval('thesis_ths_id_seq')
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (IdentifierGeneratorFactory.java:37) - Natively generated identity: 8
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (AbstractBatcher.java:374) - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (AbstractFlushingEventListener.java:154) - dirty checking collections
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (CollectionEntry.java:177) - Collection dirty: [es.udc.lbd.portal.model.researcher.entity.Researcher.thesisList#4]
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (Collections.java:176) - Collection found: [es.udc.lbd.portal.model.researcher.entity.Researcher.congressList#4], was: [es.udc.lbd.portal.model.researcher.entity.Researcher.congressList#4] (uninitialized)
2008-09-18 16:33:04,218 [btpool0-7] DEBUG (Collections.java:176) - Collection found: [es.udc.lbd.portal.model.researcher.entity.Researcher.researcherStays#4], was: [es.udc.lbd.portal.model.researcher.entity.Researcher.researcherStays#4] (uninitialized)