i want to define a relationship from a bean to itself. can i do it using xdoclet+jboss?
if so, any help is appreciated.
for e.g. a folder contains folders (id, parentFolderId)
if i define such a relation, upon deployment, jboss says that i must define key fields on both sides of the role.
Can you post some extracts from your code, the actual errors that you are seeing and extracts from the generated deployment descriptors.