Gents,
I started using hibernate but I don't understand why does hibernate resends prepared statements?
look at the following server log
Sep 22 09:09:22 home postgres[8246]: [2176-1] LOG: execute <unnamed>: insert into table (messageid, messagearrived, subj, sender, rec, size,
Sep 22 09:09:22 home postgres[8246]: [2176-2] host, id) values ($1, $2, $3, $4, $5, $6, $7, $8)
Sep 22 09:09:22 home postgres[8246]: [2176-3] DETAIL: parameters: $1 = '9AC428DC98.A6957', $2 = '2009-09-13 22:26:58+01', $3 = 'Sub', $4 =
'postmaster@host.com', $5
Sep 22 09:09:22 home postgres[8246]: [2176-6] =
'alisa@google.com', $6 = '6248', $7 = 'smtp1', $8 = '12677460'
problem is that I run an import of quite bit of data (0,5mil messages a day) but hibernate keeps sending to the database even the prepared statement I every time. think it should send just execute "name" and the parameter after it send the PS or the first time
Is there a setting I'm missing?
Stojan