I am having a hard time indexing a foreign key with xdoclet. I have tried using
@jboss:persistance dbindex="true"
(which works great on non-foreign key columns), but with a foreign key column it doesn't work. Is there any way to have jboss auto create an index on a foreign key using a xdoclet tag?
Thanks for any help! Nick.