1 Reply Latest reply on Jul 26, 2009 1:03 PM by peterj

    Want to connect to oracle instead of default DB

    kumar_potu

      I want to use this ejb3 example to connect to oracle DB. I tried to create oracle_ds.xml and create default datasource but it failed. Is there any standard way of doing that? Your expertise may help me to get over that problem easily.

        • 1. Re: Want to connect to oracle instead of default DB
          peterj

          I hope that the name oracle_ds.xml is a typo and that you really meant oracle-ds.xml.

          I tried to create oracle_ds.xml and create default datasource but it failed.


          Are you saying that the jndi-name in oracle-ds.xml is DefaultDS? You don't have to do that, use some other name. Then refer to that name in your persistence.xml file.