File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Reference of the same type." Watch "Reference of the same type." New topic
Author

Reference of the same type.

Rob Shepherd
Greenhorn

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

Rob
 
wood burning stoves
 
subject: Reference of the same type.
 
Similar Threads
mocking time
Data structure to cache objects
pass reference variable in method
What is this() method
JUnit; is there a way to order tests?