1 Reply Latest reply on Jun 8, 2004 3:29 PM by hernant

    <jbosscmp-jdbc>

    nacho2004

      well, I have a lot of beans running with :

      java:/skyline
      <datasource-mapping>MS SQLSERVER2000</datasource-mapping>

      and ...
      I want to create other beans in the same jar file (EJBs.jar)
      but these beans will be use a different jndi connection like

      java:/skylineAdmin
      <datasource-mapping>MS SQLSERVER2000</datasource-mapping>

      Can I do that ?

        • 1. Re: <jbosscmp-jdbc>

          Yes you can do it.
          You can add the datasource and datasource-mapping tags at the entity level in jbosscmp-jdbc.xml.

          However, this is not recommended.
          Make 2 different jars.

          Saludos,
          Hernan Terzian.