bag « Load « JPA Q&A

1. Load multiple bags in single select query

Hello, I have the following class-mapping that contains multiple collections mapped as : Code: ...

2. How to avoid the , "Cannot load multiple bags sim..." error?

Hi, i keep bumping in to the unfortunate error "org.hibernate.HibernateException: cannot simultaneously fetch multiple bags" I have a table in which i map several entities to each other, ill try and make a "toy" example to explain ... Mu entity beans looks similar to this (ie ... this is simplified), Code: @Entity @Immutable @Cache(usage = CacheConcurrencyStrategy.READ_ONLY) @Table(schema = "admin", name = ...

3. Unidirectional 1:N bag loads entire collection on insert

Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Smalltalker Post subject: Unidirectional 1:N bag loads entire collection on insert Posted: Tue Jun 14, 2005 8:02 am Newbie Joined: Mon Jun 13, 2005 4:42 pm Posts: 1 Hibernate version: 3.0.4 Mapping documents: Child: Code:

4. lazy loading And bag problem