1. delete hibernate entity without (attempting to) delete association table (view) entry stackoverflow.comEntity A and B have a many to many relationship using link table AtoB. If Entity A is deleted, the related links are deleted by hibernate. So far so good. My problem is ... |
2. what does the Set type in a Entry stackoverflow.comI have two tables in db,and one owns a foreign key from another,the fllowing is the schema: //table featureInfo
|
3. HQL to get latest entry of a multiple association forum.hibernate.orgHello, I have a question concerning HQL. In my model I have: - a Sale entity which has n SaleHistoryEntries. - each SaleHistoryEntry is associated to a status and has a date. - a Status has a code name (TREATED, IN_TRANSIT, COMPLETED, CANCELED, etc.) For example: Code: Sale A => SaleHistoryEntry (2008-01-01) => TREATED ... |