1 Reply Latest reply on Dec 11, 2003 8:11 PM by Juha Lindfors

    Specifying non-default database for CMP beans

    dmx442 Newbie


      I might be asking a trivial question but here it goes ...

      I specified more then one database using Jboss 3.2.2, let's say a modified sybase-ds.xml in my server/default/deploy directory, which gets loaded just fine during a JBoss startup.

      Now I have few CMP beans described in ejb-jar.xml and they're working nicely with Hypersonic (default db)...

      What would be the best way to configure those beans to use jdbc/Sybase database instead of default, preferrably without using Jboss speciffic configuration files (application should remain portable if possible).