Luciano

Exactly what I was looking for. 

Thank you
Sid

>Hi Sidart
>
>  The PassiveConnectionTestCase shows the usage of >a
config file only
>to set the managedTx property together with a
>provided connection. I
>also just committed a different variation of this
test >case to show
>the usage of programmatic config, and not require a
>physical config
>file, it would look like :
>
>        java.sql.Connection c = getConnection();
>
>        // Create config programmatically
>        ConfigHelper helper = new ConfigHelper();
>        helper.addConnectionInfo(null, false);
>
>        DAS das =
>DAS.FACTORY.createDAS(helper.getConfig(), c);
>
>   Let me know if this helps.
>
>On 10/17/07, Sidart Kurias <[EMAIL PROTECTED]>
wrote:
> With DAS it seems to me that I am unable to control
> the transaction managing state of the DAS except
> through the config file. Since I am passing in the
> connection through  code, what I would like to do is
> also set the managedtx state to false and control
the
> transactions myself, without needing the config
file.
> Either that or perhaps, would it make sense to set
the
> default state to externally managed for all
externally
> provided connections?
>
> Thanks
> Sid
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
protection around
> http://mail.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
>
>
>
>
>-- 
>Luciano Resende
>Apache Tuscany Committer
>http://people.apache.org/~lresende
>http://lresende.blogspot.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
>[EMAIL PROTECTED]
>For additional commands, e-mail:
>[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to