CHAPTER 11

image

Batch Processing and Native SQL

Batch processing is the processing of groups of elements. From an application standpoint, batch processing means reading data from a persistent store, doing something with the data, and then possibly storing the processed data in the persistent store as a single conceptual operation. Batch processing, which allows for the automation and sharing of computer resources, is usually run when computer resources are less busy.

Let’s say that for a bookshop application, you want to increase sales by putting all books in the shop on sale on the 27th and 28th of the month. This is a classic case for implementing ...

Get Hibernate Recipes: A Problem-Solution Approach, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.