1. Best ID generation strategy for large batch loading? forum.hibernate.orgWe have one table that contains consumer records. There are going to be vastly more consumers than anything else in our system (millions). We load up consumer data sometimes in batches of hundreds of thousands. Our current consumer mapping uses an id field like so: Code: |
2. About batch fetching strategy forum.hibernate.orgassume the relation between Item and Bid is one-to-many. I set the following code in the Item.hbm.xml: |