I don't think you guys get what I'm talking about. This is about different been combinations - not simply different properties. I.e a jndi datasource vs a non-jndi datasource. But this can be overcome by using mock jndi instances - which was most of the original problem I was having.