collection « Default « JPA Q&A





1. How to create a hibernate idbag with a collection-id that has a default value?    stackoverflow.com

I need to create an idbag in hibernate 3 where the collection-id column defaults to the next value in a sequence. According to the hibernate 3 DTD, the collection-id element ...

2. How to autoselect the default collection type with hibernate    forums.netbeans.org

Hi, i'm trying to set the List collection as default when i create a "hibernate maping files and pojos from database", it always creates sets, but the wizard won't let me select which collection to use. Oddly when i create a "New entity classes from database", it will let me choose in the last step. I suppose there should be a ...

3. Default filtering for collections    forum.hibernate.org

Hi! I'm trying to develop a simple application for comparing prices of products among multiple sellers as an exercise to better understand Hibernate. Currently I'm having some mapping related questions. First of all, a Product knows all Prices it has. Price associates Product with Seller and includes information about the date, the actual price and most interestingly for this problem, an ...