1. HowTo ? : many-to-many association with one property forum.hibernate.orgI'd like to know how to map a many-to-many association with one property. For example we have the two tables A and B, and there is a many-to-many association between these two tables that gives us a new table called AB. In AB there is the primary key from A and from B. And we also find one property in this ... |
2. class 'where' ignored resolving association via property-ref forum.hibernate.orgRegular Joined: Wed Aug 25, 2004 6:23 am Posts: 91 Firstly can I just say what an awesome tool Hibernate is - it's saved us a huge amount of work! I'm trying to map a legacy database using Hibernate. One of the problems that I just can't seem to solve is that a class 'where' clause seems to be ignored when ... |
3. Using 'or' between property and associations in Criteria.. forum.hibernate.orgHi, I have a entity with some properties like title and description and a many-to-many association with keywords. I want to do a criteria that returns all rows where 'xyz' is in the title or the description or 'xyz' is a keyword. I can easily do 'and' as below but not 'or'.. Ideas? Keyword keyword = keywordDAO.findKeywordByName(token, session); if (keyword != ... |
4. Many-to-many with collection property on association table forum.hibernate.orgBeginner Joined: Wed Apr 05, 2006 5:01 am Posts: 20 Hibernate version: 3.1 Hi @all, i have a many-to-many association between my domain classes Employee and Organization. In the first iteration of my application i had an additional property on the association table connecting both. I mapped it using a composite-element, as you can see in the provided mapping for Employee ... |
5. Criteria API (Restricting by property in association)? forum.hibernate.org |
6. additional properties in many-to-many association table?? forum.hibernate.orgHi, I'm having a lot of trouble figuring out the mapping needed for this setup. I've looked through FAQs, tutorials, and searched the forums with no luck (although I wouldn't be surprised if a similar issue has already been answered). Basically, what I want is a many-to-many relationship where the association table stores additional information (e.g. Is_Historical, below). Here's the setup: ... |
7. Many to One association lazy property options forum.hibernate.orgI am trying to understand the different fetch strategies available for many-to-one relation in Hibernate. http://www.hibernate.org/hib_docs/reference/en/html/performance.html#performance-fetching Quote: Proxy fetching - a single-valued association is fetched when a method other than the identifier getter is invoked upon the associated object. "No-proxy" fetching - a single-valued association is fetched when the instance variable is accessed. Compared to proxy fetching, this approach is less ... |
8. Association with a property (more than a many-to-many rel.) forum.hibernate.orgProfile Position name --- contains ---> name ... with status ... |