Datasources and connection factories have both a type-mapping and a metadata prop. The type-mapping prop is a simple value, and the metadata is a composite value containing a single simple named typeMapping. I think both the top-level type-mapping property and the typeMapping sub-value represent the name of the DB type-mapping from conf/standardjbosscmp-jdbc.xml that this datasource should use. Isn't this redundant? Which property is actually used by the underlying DS/CF, or are both used? And if both are used, which one takes precedence?