4 Replies Latest reply on Jun 11, 2004 3:15 AM by Alexandre Touret

    CMP EJB cant bind MS SQL Datasource

    Alexandre Touret Newbie

      Hi all,
      When my CMP EJB communicates with MS SQL Server 2000, they seem to use the default datasource which is configured for HSQLDB instead of the MS SQL datasource.

      On the other hand, when my sessions beans communicates with this datasource, Everything works fine....

      I m working with :

      JBOSS 3.2.3
      J2SE 1.4.2-04
      MS SQL SERVER 2000
      JDBC DRIVER: Microsoft SQL Server 2000 Driver for JDBC SP2 Version 2.2.0037 ( August 2003 )

      "My mssql.xml" wrote:


      "My jbosscmp-jdbc.xml " wrote:
      <datasource-mapping>MS SQLSERVER2000</datasource-mapping>


      To add beans that you have deployment descriptor info for, add
      a file to your XDoclet merge directory called jbosscmp-jdbc-beans.xml
      that contains the <entity></entity> markup for those beans.

      Thanks for helping

      Alexandre Touret