Hi,
i am using Hibernate 3.2 JPA. Because of massive concurrent access on my program i have to use a table lock.
At some point in a transaction i want to lock a whole table for the current transaction and remove this lock not until commit.
Other transactions that try to access this tables should wait until there is no lock.
How can i do this with hibernate JPA ? I found the method lock(Object, Read/Write) but seams not be what i am looking for...
i am looking for an exclusive read and write table lock
Regards, Tobias[/code]
|