association « JPA « Spring Q&A





1. Should Hibernate bidirectional associations be avoided?    stackoverflow.com

In a Spring/Hibernate based project, we have a one-to-many relationship between two entities. Required operations are:

  • find the child's parent;
  • find the parent's children;
  • when parent is being removed, we also need to ...

2. How can you add auditing to Association tables using Spring Data JPA??    forum.springsource.org

Hi, Is there any way of easily adding auditing to association tables? (e.g. many-to-many, many-to-one, one-to-many mapping tables) The only way that I can think of to do this is to ...

3. Many-to-many association and Spring/Hibernate    forum.springsource.org

Many-to-many association and Spring/Hibernate I've two classes Project and Resource which has many-to-many association. I've introduced an association class ProjectResource and made this many-to-many into 2 one-to-many associations. In Spring, each ...

4. Many-to-many association, Spring and Hibernate    forum.springsource.org

Many-to-many association, Spring and Hibernate I've two classes Project and Resource which has many-to-many association. I've introduced an association class ProjectResource and made this many-to-many into 2 one-to-many associations. In Spring, ...

5. getting to an association w/o using lazy=false in hibernate    forum.springsource.org

getting to an association w/o using lazy=false in hibernate I realize this might not be the right place to ask this, but I thought I might give it a shot. Is ...

6. Hibernate mapping problem with associations    forum.springsource.org

Jul 11th, 2006, 08:49 AM #1 ppp102 View Profile View Forum Posts Private Message Junior Member Join Date Jul 2006 Posts 5 Hibernate mapping problem with associations I have problem with ...

7. Hibernate Bidirectional Association    forum.springsource.org

Hibernate Bidirectional Association Hi, everybodies! I would like to develop classic category object with bidirectional association between categories and subcategories. With the following solution I get a one-way association. I have ...

8. Hibernate: "many-to-many" association does not work    forum.springsource.org

Nov 1st, 2006, 06:58 AM #1 Rapthor View Profile View Forum Posts Private Message Member Join Date Mar 2006 Posts 85 Hibernate: "many-to-many" association does not work Hello, I got a ...

9. Help needed on Associations using Hibernate and Spring    forum.springsource.org

Help needed on Associations using Hibernate and Spring Hi all, I need help to solve a sample application which is wired upwith Associations. okey, coming to my application.. I have 5 ...





10. Hibernate mapping "where" clause for associations    forum.springsource.org

Hibernate mapping "where" clause for associations Hey Everyone, I realize that this is more of a Hibernate-specific question, but I haven't had luck getting help with my previous Hibernate forum post, ...

11. Hibernate : Unidirectional Associations Vs Bidirectional Associations    forum.springsource.org

Hibernate : Unidirectional Associations Vs Bidirectional Associations (For Hibernate) While modeling Domain Objects for a Application,What type of Associations should we go for? 1) Unidirectional Associations (or) 2) Bidirectional Associations What ...

12. Hibernate Join tables association with addnl rows(problem with pk gen)    forum.springsource.org

Jul 24th, 2008, 08:18 PM #1 benbohl View Profile View Forum Posts Private Message Junior Member Join Date Apr 2008 Posts 7 Hibernate Join tables association with addnl rows(problem with pk ...

13. One to Many Associations with Hibernate and annotations    forum.springsource.org

One to Many Associations with Hibernate and annotations Hi, I'm a newbie to both Spring & Hibernate, so it's possible I may be on totally the wrong track here. I have ...

14. Where to load hibernate associations    forum.springsource.org

Where to load hibernate associations Hello, I have to parse and import a txt flatfile to a hibernate domain named Domain1. I have planned to create a SimpleStepFactoryBean with a FlatFileItemReader ...