You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Xiao-fei Song <xf...@yahoo.com> on 2007/07/03 11:29:04 UTC

default database pools for entity beans

Hi all,

Just wondered how I can configure my own database for entity beans in
Geronimo. I haven't been able to find any documents on this site. Can
anybody post me a link?

Thanks,
Chris
-- 
View this message in context: http://www.nabble.com/default-database-pools-for-entity-beans-tf4017160s134.html#a11408792
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: default database pools for entity beans

Posted by Xiao-fei Song <xf...@yahoo.com>.
ok problem resolved by using 

      <cmp-connection-factory>
        <resource-link>testpool</resource-link>
      </cmp-connection-factory>

in openejb-jar.xml

Thanks,
Chris


Xiao-fei Song wrote:
> 
> Hi Lasantha,
> 
> I would like to clarify that my question is about setting the "default
> datasource" for persisting the entity bean itself, not the datasources
> where the entity bean are referencing. Are there any way for Geronimo to
> change its default datasource so that the entity beans deployed will be
> persisted to that database?
> Right now I think the default one is derby, which is not a Enterprise
> grade database and can not handle large data.
> 
> Thanks,
> Chris
> 
> 
> Lasantha Ranaweera wrote:
>> 
>> Hi Chris,
>> 
>> This is a Entity Bean sample application using in build Derby as DB. 
>> This can be easily migrated in to some other DB.
>> 
>> http://cwiki.apache.org/GMOxDOC12/ejb-sample-application-12-ok.html
>> 
>> Hope this helps,
>> Lasantha
>> 
>> Xiao-fei Song wrote:
>>> Hi all,
>>>
>>> Just wondered how I can configure my own database for entity beans in
>>> Geronimo. I haven't been able to find any documents on this site. Can
>>> anybody post me a link?
>>>
>>> Thanks,
>>> Chris
>>>   
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/default-database-pools-for-entity-beans-tf4017160s134.html#a11426021
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: default database pools for entity beans

Posted by Xiao-fei Song <xf...@yahoo.com>.
Hi Lasantha,

I would like to clarify that my question is about setting the "default
datasource" for persisting the entity bean itself, not the datasources where
the entity bean are referencing. Are there any way for Geronimo to change
its default datasource so that the entity beans deployed will be persisted
to that database?
Right now I think the default one is derby, which is not a Enterprise grade
database and can not handle large data.

Thanks,
Chris


Lasantha Ranaweera wrote:
> 
> Hi Chris,
> 
> This is a Entity Bean sample application using in build Derby as DB. 
> This can be easily migrated in to some other DB.
> 
> http://cwiki.apache.org/GMOxDOC12/ejb-sample-application-12-ok.html
> 
> Hope this helps,
> Lasantha
> 
> Xiao-fei Song wrote:
>> Hi all,
>>
>> Just wondered how I can configure my own database for entity beans in
>> Geronimo. I haven't been able to find any documents on this site. Can
>> anybody post me a link?
>>
>> Thanks,
>> Chris
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/default-database-pools-for-entity-beans-tf4017160s134.html#a11410532
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: default database pools for entity beans

Posted by Lasantha Ranaweera <la...@opensource.lk>.
Hi Chris,

This is a Entity Bean sample application using in build Derby as DB. 
This can be easily migrated in to some other DB.

http://cwiki.apache.org/GMOxDOC12/ejb-sample-application-12-ok.html

Hope this helps,
Lasantha

Xiao-fei Song wrote:
> Hi all,
>
> Just wondered how I can configure my own database for entity beans in
> Geronimo. I haven't been able to find any documents on this site. Can
> anybody post me a link?
>
> Thanks,
> Chris
>