On 4/14/05, Lemke, Wesley <[EMAIL PROTECTED]> wrote:
> We are trying to use the dynamic proxy for some of our collections.
> However, I am getting an error and am unable to tell exactly what the
> problem is.
> 
> The invoke method of IndirectHandlerDefaultImpl is saying that it can
> not invoke a particular method.  However, in looking the stack trace, I
> can not figure out why it is unable to invoke the getSubGroup method.
> Can someone point me in the correct direction?
> 
> The relevant portion of our model:  ClientRelationship has a collection
> of NewClientGroups which have a collection of Subgroups. The error is
> getting created when we are trying to retrieve one subgroup (by it's
> unique Id) from the NewClientGroup with the getSubGroup(int id) method
> call.

<snip>

> Caused by: COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0125E
> Function sequence error. SQLSTATE=HY010
>         at
> COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExcepti
> onGenerator.java:270)

This is the interesting part. AFAIK it occurs when a SQL statement
failed and the jdbc driver tries to disconnect without a rollback.
You might want to check the DB2 manuals, and perhaps turn on SQL
statement logging (P6Spy or in the DB2 database) to see which SQL
statement failed.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to