File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA-storing HumanMan entity which references another instances of HumanMan

 
Kenneth Gustafsson
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an entity which references another instance of itself. It's the basic structure needed for trees and other types of graphs. When I try to use JPA to store this entity I get a mapping exception.


Has anyone got any tips for me?
[ April 08, 2008: Message edited by: Kent Larsson ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic