[jboss-dev-forums] [Design of the JBoss EJB Container] - Is the metadata/type-mapping in -ds.xml really optional?

rrajesh do-not-reply at jboss.com
Tue May 1 15:03:17 EDT 2007


I see that the metadata/type-mapping is optional in -ds.xml and the defaults/datasource-mapping is also optional in standardjboss-cmp.xml.

Looking at the code the type-mapping is obtained from one of these 3 places.
1. user defined in jbosscmp-jdbc.xml
2. defaults/datasource-mapping in standardjboss-cmp.xml
3. TypeMappingMetaData from the datasource metadata mbean.

If 2 and 3 are optional and the user does not define 1 how is the type-mapping obtained?

Also without the metadata/type-mapping in -ds.xml the TIMERService doesn't start up.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042203#4042203

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042203



More information about the jboss-dev-forums mailing list