For the purposes of the list. Begin forwarded message:
> From: Charles Foster > Subject: Re: ConnectionPoolXQDataSource > Date: 12 December 2013 20:41:44 GMT > To: [email protected] > > Hi Raj, > > There is the class: > > net.xqj.basex.BaseXConnectionPoolXQDataSource > > Which is an implementation of ConnectionPoolXQDataSource [1]. > > However, as far as I'm aware. No Connection Pool Manager yet exists for XQJ. > So you would have to write your own. If you were to write your own, then > using instances of ConnectionPoolXQDataSource is definitely the way to go. > > I plan to write an XQJ Connection Pool Manager at some point in the future, > but it won't be free. If you know of someone who is willing to pay the > development of an XQJ Connection Pooler Mechanism, then I'm up for making > this a priority of other pieces of work I've got on. > > BaseX supports ACID transactions within the context of a single running > XQuery, but doesn't support client transactions. > > Both Sedna and MarkLogic do support client transactions though. > > To find out if an XQJ implementation supports client side transactions, > amongst other things, you can inspect at its XQMetaData [2], specifically the > "boolean isTransactionSupported()" method. > > Kind Regards, > > Charles > > [1] http://xqj.net/javadoc/javax/xml/xquery/ConnectionPoolXQDataSource.html > [2] http://xqj.net/javadoc/javax/xml/xquery/XQMetaData.html > > On 12 Dec 2013, at 17:29, [email protected] wrote: > >> Raj Kamineni: >> >> Just wondering if there is an implementation of this >> ConnectionPoolXQDataSource for baseX. >> >> I have background in the JDBC SQL so I am thinking in terms of connection >> pool to database. >> >> Also, I got an error: Client side transaction are not supported. Is it the >> baseX that doesn't support it or is it the xqj driver that is unable to >> handle it now.. >> >> thanks >> Raj >> Sr. Architect >> Neustar. >> >
_______________________________________________ BaseX-Talk mailing list [email protected] https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

