I've created two beans and in one of them defined a many-to-many CMR using a relation-table. The CMR is unidirectional (from ABean to BBean). The xmls look ok. The table names are all in small letters. When I remove BBean Jboss tries to load the relation with ABean (although it is supposed to be unidirectional, maybe it has to do with the fact that I created the relation with XDoclet).
The problem is, that the query it tries to execute contains the relation table's name in capital letters, and therefore creates an error.