I'm trying to use CMR/CMP for a project. I'm deploying a jar with my beans, and I'd like the tables to be generated in the datasource (postgresql). I have two beans, and they have an M-N relationship. Three tables are generated, as expected, but in the two tables for the beans, a bytea column is being added for the CMR field. I'm confused - I'm not sure what this is for, since the relationship table contains references to the other two tables.
I think that I'm doing something wrong, as opposed to JBoss (I'm using 3.0.6). I've attached the xml files I'm using in deployment.
Thanks for any help,
Sorry for the beginner's question in this forum. Problem was simply that I was declaring my CMR fields as persistant, and this inconsistancy seems to confuse JBoss. If possible, it would probably be nice to get a little warning in the logs if you declare your CMR fields as persistant.