http://cayenne.195.n3.nabble.com/query-timeout-needed-td1070.html
The link explains the solution for cayenne 1.2. You can try with cayenne 3.1 being aware that packages named org.objectstyle.* have been renamed as org.apache.* 2014-10-13 4:50 GMT+02:00 Malcolm Edgar <[email protected]>: > Hi All, > > I am having some deadlock issues with the Oracle database, and want to be > able to set the JDBC statement timeout. > > From what I understand this isn't supported in Cayenne 3.1, and I am after > advice on the best way to do this in a Cayenne context. > > > http://docs.oracle.com/javase/6/docs/api/java/sql/Statement.html#setQueryTimeout%28int%29 > > Thanks in advance for any help. > > regards Malcolm Edgar >
