through the builder, as you have noticed.
>>> You can use a lazy initialized singleton or some sort of connection pool.
>>> On Jun 17, 2015 5:05 PM, "Kushan Maskey" <
>>> kushan.mas...@mmillerassociates.com> wrote:
>>>
>>>> I am wondering
on through the builder, as you have noticed.
>> You can use a lazy initialized singleton or some sort of connection pool.
>> On Jun 17, 2015 5:05 PM, "Kushan Maskey" <
>> kushan.mas...@mmillerassociates.com> wrote:
>>
>>> I am wondering how can
sociates.com> wrote:
>
>> I am wondering how can I safely create a Singleton database connection
>> and use it through out the process.
>>
>> Here is my scenario.
>>
>> I got bunch of bolts that updates Cassandra database. I have reader and
>> writer classe
You cannot pass a connection through the builder, as you have noticed. You
can use a lazy initialized singleton or some sort of connection pool.
On Jun 17, 2015 5:05 PM, "Kushan Maskey" <
kushan.mas...@mmillerassociates.com> wrote:
> I am wondering how can I safely create a
I am wondering how can I safely create a Singleton database connection and
use it through out the process.
Here is my scenario.
I got bunch of bolts that updates Cassandra database. I have reader and
writer classes where each needs a database session to execute queries. We
create session on each