1 Reply Latest reply on Mar 8, 2006 4:57 AM by Holger Johanndeiter

    Bean refuses to use custom datasource in jbosscmp-jdbc.xml

    Holger Johanndeiter Newbie

      i wrote a very simple Entity Bean with a few cmp fields. I want the bean to store the fields in my postgreSQL database.
      I have put the postgres-ds.xml properly into the deploy folder with JNDI name PostgresDS.

      in jbosscmp-jdbc.xml i specified:

       <datasource-mapping>PostgreSQL 7.2</datasource-mapping>
      .... etc .......

      But still the Bean uses the default JBoss database.
      What am i doing wrong?