openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-964) Finish updating sql-error-state- codes.xml for query timeout support on other DBs
Date Tue, 07 Apr 2009 20:13:12 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696717#action_12696717
] 

Donald Woods commented on OPENJPA-964:
--------------------------------------

Example output when using DB2SimpleDataSourceExample -
Statement = update qtimeout set versionField = 2 where mod(id,2)=0
com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-952, SQLSTATE=57014, SQLERRMC=null,
DRIVER=3.50.152
	at com.ibm.db2.jcc.b.wc.a(wc.java:55)
	at com.ibm.db2.jcc.b.wc.a(wc.java:126)
	at com.ibm.db2.jcc.b.tk.c(tk.java:1901)
	at com.ibm.db2.jcc.t4.db.p(db.java:800)
	at com.ibm.db2.jcc.t4.db.h(db.java:227)
	at com.ibm.db2.jcc.t4.db.b(db.java:45)
	at com.ibm.db2.jcc.t4.t.b(t.java:38)
	at com.ibm.db2.jcc.t4.sb.g(sb.java:120)
	at com.ibm.db2.jcc.b.tk.M(tk.java:1351)
	at com.ibm.db2.jcc.b.tk.a(tk.java:2246)
	at com.ibm.db2.jcc.b.tk.c(tk.java:601)
	at com.ibm.db2.jcc.b.tk.executeUpdate(tk.java:585)
	at DB2SimpleDataSourceExample.main(DB2SimpleDataSourceExample.java:103)


> Finish updating sql-error-state- codes.xml for query timeout support on other DBs
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-964
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-964
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>    Affects Versions: 2.0.0
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Need to add any SQLStatus codes for query timeouts to sql-error-state- codes.xml and
handle setting isRecoverable/isFatal in each DBDictionary subclass for other supported DBs
besides Derby and DB2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message