I am trying to use the same jar of session and entity beans to view multiple instances of the same schema. My problem is that the jboss-jdbc.xml deployment descriptor has the default datasource within it. If I want to use the same beans for multiple instances of the same schema I have to be able to programatically set the default datasource to be used. Is this possible?
Moderated: Use the CMP forum