You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Andrea Romagnoli <ar...@mokabyte.it> on 2002/04/23 10:42:53 UTC
error on source of exalibur 4.1
hello
i have download source of exalibur 4.1
on compiling it i have found an error in class Jdbc3Connection on packages org.apache.avalon.excalibur.datasource
on following function:
public final Statement createStatement(int resulSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
{
final Statement temp = m_connection.createStatement(
resultSetType, resultSetConcurrency, resultSetHoldability
);
m_lastUsed = System.currentTimeMillis();
return temp;
}
public final PreparedStatement prepareStatement(String sql,
int resulSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
{
final PreparedStatement temp = m_connection.prepareStatement(
sql, resultSetType, resultSetConcurrency, resultSetHoldability
);
m_lastUsed = System.currentTimeMillis();
return temp;
}
public final CallableStatement prepareCall(String sql,
int resulSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
{
final CallableStatement temp = m_connection.prepareCall(
sql, resultSetType, resultSetConcurrency, resultSetHoldability
);
m_lastUsed = System.currentTimeMillis();
return temp;
}
where argument of function is resulSetType, instead of resultSetType
best regards
Andrea Romagnoli