Search found 4 matches

by Milan Shrestha
Tue Jul 23, 2013 9:50 pm
Forum: JDBC
Topic: jdbctemplate.setTimeout(time_in_millisec) not working
Replies: 6
Views: 25630

Re: jdbctemplate.setTimeout(time_in_millisec) not working

Thanks sKwa . This was a great help and saved my time. :)
by Milan Shrestha
Tue Jul 23, 2013 4:50 pm
Forum: JDBC
Topic: jdbctemplate.setTimeout(time_in_millisec) not working
Replies: 6
Views: 25630

Re: jdbctemplate.setTimeout(time_in_millisec) not working

Thanks sKwa. This works. However, is there any way besides the exception message to identity that the exception has been caused by runtimecap. I see the error code to be 100081 even if i run the code with wrong query syntax.
by Milan Shrestha
Tue Jul 23, 2013 2:28 am
Forum: JDBC
Topic: jdbctemplate.setTimeout(time_in_millisec) not working
Replies: 6
Views: 25630

Re: jdbctemplate.setTimeout(time_in_millisec) not working

Hi ,
I am new to vertica and I believe SET SESSION RUNTIMECAP is command that is to be executed on the console. So can I execute this from jdbc connection from java and how? Do I need to execute this using dbaadmin user?
by Milan Shrestha
Mon Jul 22, 2013 8:27 pm
Forum: JDBC
Topic: jdbctemplate.setTimeout(time_in_millisec) not working
Replies: 6
Views: 25630

jdbctemplate.setTimeout(time_in_millisec) not working

Hi, We are trying to set the execution time out for a query and we use the spring jdbctempalte to do that as below: jdbctemplate.setTimeout(time_in_miilis) This is working perfectly fine in oracle but not in veritca. It seems like vertica does not support query time out this way. So I used RUNTIMECA...

Go to advanced search