On 18-07-2007 05:47:41 -0700, Bharani wrote:
I tried with postgress as well but same error. I dont think this is a dialect issue. It happens when hibernate is trying to close the querystatement.
Here is the trace
java.sql.SQLException: Method not supported, sorry! at nl.cwi.monetdb.jdbc.MonetStatement.getQueryTimeout(MonetStatement.java:538) at org.apache.commons.dbcp.DelegatingStatement.getQueryTimeout(DelegatingStatement.java:243) at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:273)
[snip]
Can you return a negative value instead of throwing an exception?
I could, but getQueryTimeout() I can have working, because that's always zero in our case. Returning an negative number would violate the interface.
Thanks for the quick response. MonetDB is really giving my 10x boost but i wish i can get it working with hibernate.
I'll fix getQueryTimeout in CVS current (HEAD). In 10 minutes it should be done. Do you work with the CVS sources?