"Sebastian Lillo" <[EMAIL PROTECTED]> wrote:
> Hi, can anybody tell me how to make an entity bean use mysql instead of
> Hypersonic ?
>
> I tried adding these lines to the ejb-jar.xml file but it still uses the
> defaultDS db.
>
> <resource-ref>
> <res-ref-name>jdbc/mySQL</res-ref-name>
> <res-type>javax.sql.DataSource</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
You'll have to do this in jaws.xml, see the jBoss manual, Section 5
"Customizing JAWS / Specifying a datasource".
--
(o_ Raffael Herzog
//\ [EMAIL PROTECTED]
V_/_
May the penguin be with you!
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]