gavin wrote:
I think you are mistaken. INSERTs never block other INSERTs, especially not in read committed.
I have seen scenarios in which the whole file is locked, not in Hibernate but with EJB's. Of course in the normal state of affairs, a locked row on an insert makes no sense at all.
It could be that someone thinks they are using Read Uncomitted, but are actually using another level.
On the iSeries version of DB2 you can find out what isolation level you are actually using by setting the "trace" property to be "true" on the JDBC driver, who knows what the equivalent is on Oracle.
Thinking about it, doesn't Oracle use a file to provide surrogate identity fields ? Maybe that is what is getting locked, as obviously this would be updated whenever an insert takes placce.
It seems to be more of a db than a Hibernate question.