I wouldn't advise trying to connect directly to a database with a cmp
entity bean.  Use bmp instead. In that case, you do it the normal EJB
way, by binding the JDBC connection resource to a java:comp/env name.

-Charles


Christian Bourque wrote:

> Does anyone knows how to setup Minerva with PostgreSQL ?
>
> In a cmp bean is there a way to request a database connection from a
> DataSource (jboss.conf) without using Minerva (XADataSource...) ???
>
> Thanks
>
> Christian
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to