As far as I know, this feature will be supported in version 4.0.
That will be nice.
I want to try something like this using CMR for the fk fields, and have the database have a pk/fk constraint to manage the data. I'm thinking if the container tries to write something it shouldn't, an exception will be thrown.
This assumes that I can create the table instead of letting jboss create it from the bean.
I haven't tested this yet, but I think it will work.