Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB and other Java EE Technologies and the fly likes Reference of the same type. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Reference of the same type." Watch "Reference of the same type." New topic

Reference of the same type.

Rob Shepherd

Joined: Dec 08, 2003
Posts: 4
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

I agree. Here's the link:
subject: Reference of the same type.
jQuery in Action, 3rd edition