will initialize up to 100 lazy Product entity proxies at a time.@Entity @BatchSize(size=100) class Product { ... }
will initialize up to 5 lazy collections of products at a time@OneToMany @BatchSize(size = 5) / Set<Product> getProducts() { ... };
| Modifier and Type | Method and Description |
|---|---|
| public int |
| size | back to summary |
|---|---|
| public int size() Strictly positive integer. | |