Обсуждение: JDBC: setTransactionIsolation?

Поиск
Список
Период
Сортировка

JDBC: setTransactionIsolation?

От
Greg Speegle
Дата:
It appears that the setTransactionIsolation method in the
Connection class will allow you to set
whatever isolation you want, but it always leaves it at
READ_COMMITTED.

First, is there something I'm missing about this? Can I set
the isolation level to something else?

Second, if not, shouldn't the driver throw an exception so
that the programmer will know there
is a problem?

Thanks,
Greg Speegle
Baylor University