Hi Zach,

No, D2R doesn't provide a way of setting Statement.setQueryTimeout, although 
that sounds like a reasonable thing to do.

There's a related issue in the tracker:
https://github.com/d2rq/d2rq/issues/34

Apologies for the slow (and rather unhelpful) response.

Best,
Richard


On 6 Feb 2012, at 22:39, Zach Schweinfurth wrote:

> Is there any way to configure a timeout option to be sent with each query or 
> to be set globally for d2r server, when querying a mysql database? I know you 
> can specify jdbc properties for a d2rq:Database, but for mysql there only 
> seems to be a property to enabling query time outs, namely 
> enableQueryTimeouts. There does not seem to be a property to set the timeout 
> itself, like you would with Statement.setQueryTimeout()
> 
> Thanks.
> -- 
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2_______________________________________________
> d2rq-map-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to