Hi Steve,
On Thu, Jan 27, 2011 at 1:01 AM, Steve Kieu <[email protected]> wrote:
> Is there any method that allow me to check the connection status from the
> Store object? I think of a way like do a store.execute("some lowest cost sql
> here") and catch the exception then if has then recreate the store object
> but it does look clean to me.
Nope, the only way to test the connection is to use it. You can run a
simple query like:
store.execute("SELECT * FROM $table WHERE 1=2")
Thanks,
J.
--
storm mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/storm