Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reference of the same type.

 
Rob Shepherd
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear EJB forum,

I'm having difficulty understanding and implementing an entity bean.

The class looks like this.



it is a unidirectional relationship between one object and another.

I've confused myself into oblivion, so i won't make any assumptions or preemtive suggestions.

could somebody explain how I might annotate this and preserve the relation mapping through persistence.

many thanks for any suggestions

Rob
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic