If I set transaction isolation level to READ_COMMITTED, can I set a table isolation level differently such as READ_UNCOMMITTED? The reason for this is that the changes to a table need to be visible immediately to other transactions.
Transaction: READ_COMMITTED
Table Foo: READ_UNCOMMITTED
For example, JPA table id generator
Entity Type Next Id
----------------------------------
EMP 100
DEPT 5
When one transaction gets a new Id for Employee, increase its Id to 101. This new id must be visible to other transactions immediately. Otherwise it will cause duplicate Id.
Suppose the isolation levels of all transactions are READ_COMMITTED. How to make the changes to the table visible to other transactions before committing current transaction?
How about Mysql, Oracle db, SqlServer?