Добрый день!
Java + SpringFramework 2.5 + Oracle
Дана таблица с количеством записей в несколько десятков миллионов штук, у которой есть primary key entity_id number. Так же есть интерфейс:
public interface TableIterator {
void processRow(long rowId);
}
Вопрос в том, как можно реализовать функцию:
void iterate(String tableName, String
(
Read more... )
Comments 21
Reply
Reply
Reply
Reply
"Because the underlying server does not support scrollable cursors, Oracle JDBC must implement scrollability in a separate layer. It is important to be aware that this is accomplished by using a client-side memory cache to store rows of a scrollable result set.
Important: Because all rows of any scrollable result set are stored in the client-side cache, a situation where the result set contains many rows, many columns, or very large columns might cause the client-side Java virtual machine to fail. Do not specify scrollability for a large result set.
Scrollable cursors in the Oracle server, and therefore a server-side cache, will be supported in a future Oracle release."
Reply
Reply
Leave a comment