this is NOT a reply.... sorry for that, but
I AM 100% BEHIND YOU !!!!!
it should be possible to specify the mapping in the DS file.
We got several configurations JBOSS<->Databases with vendors from different Databases (Oracle 8,9, Interbase, etc.).
Its completely annoying that we have to specify the mapping in our EAR Files in a JBoss_CMP.... file.
It complicates the assembly.
PLEASE... change that.
Post it as a RFE on sourceforge.
You can also just rely on the default settings in standardjbosscmp-jdbc.xml. It's often more convenient to change these and this is a viable approach if your all your CMP beans in one JBoss instance are deployed to a single database.