Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in an specific method ressolution #9

Open
rpau opened this issue Mar 1, 2016 · 0 comments
Open

Bug in an specific method ressolution #9

rpau opened this issue Mar 1, 2016 · 0 comments

Comments

@rpau
Copy link
Owner

rpau commented Mar 1, 2016

java.lang.Exception: Ops! The method call inner.setNull(parameterIndex, sqlType) is not resolved. The scope is [java.sql.Statement] , and the args are : [ int, int]

public class XTracingPreparedStatement
extends AbstractXPreparedStatement {

@OverRide
public void setNull(int parameterIndex,
int sqlType)
throws SQLException {
if (traceArgs) {
isetObject(parameterIndex, null);
}
inner.setNull(parameterIndex, sqlType);
}

inner is defined in abstract super super super class based on type variable:

import java.sql.PreparedStatement;

public class AbstractXPreparedStatement extends AbstractXStatement2 implements XPreparedStatement {
public class AbstractXStatement2 extends DelegatingPreparedStatement implements XStatement {
public class DelegatingPreparedStatement
extends ADelegatingStatement
implements PreparedStatement {

public class ADelegatingStatement implements Statement {
protected final INNER inner;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant