faint!mm.mysql 3.1版出来了
我以为问题就解决了,
解开源代码一看,起初还挺高兴的 因为终于发现first(),last()函数的踪影了看看:)
ResultSet.last();
public boolean last() throws SQLException {
if (Driver.TRACE) {
Object[] args = { };
Debug.methodCall(this, "last", args);
} if (rowData.size() == 0) {
return false;
} else {
if (onInsertRow) {
onInsertRow = false;
} if (doingUpdates) {
doingUpdates = false;
} rowData.beforeLast();
thisRow = rowData.next(); return true;
}
}ResultSet.first();
public boolean first() throws SQLException {
if (Driver.TRACE) {
Object[] args = { };
Debug.methodCall(this, "first", args);
} if (onInsertRow) {
onInsertRow = false;
} if (rowData.isEmpty()) {
return false;
} else {
if (doingUpdates) {
doingUpdates = false;
} rowData.beforeFirst();
thisRow = rowData.next(); return true;
}
}在看看这两个函数有什么相同和不同?
相同的地方就是thisRow = rowData.next();
我找了RowData.java看了看 结果发现 这个是空的文件!!!!
只有
/**
* Returns the next row.
*
* @return the next row value
* @throws SQLException if a database error occurs
*/
byte[][] next() throws SQLException;
555555555555555555555
问题什么也没解决!!
java.lang.AbstractMethodError: org.gjt.mm.mysql.ResultSet.last()Z函数还是没用
我狂ft!(不过想不到这个JDBC驱动居然是全球的CVS做的,不知道有没有我们中国人的份哦~~)
哎。
我在热切盼望能自由移动的MYSQL-JDBC驱动
我以为问题就解决了,
解开源代码一看,起初还挺高兴的 因为终于发现first(),last()函数的踪影了看看:)
ResultSet.last();
public boolean last() throws SQLException {
if (Driver.TRACE) {
Object[] args = { };
Debug.methodCall(this, "last", args);
} if (rowData.size() == 0) {
return false;
} else {
if (onInsertRow) {
onInsertRow = false;
} if (doingUpdates) {
doingUpdates = false;
} rowData.beforeLast();
thisRow = rowData.next(); return true;
}
}ResultSet.first();
public boolean first() throws SQLException {
if (Driver.TRACE) {
Object[] args = { };
Debug.methodCall(this, "first", args);
} if (onInsertRow) {
onInsertRow = false;
} if (rowData.isEmpty()) {
return false;
} else {
if (doingUpdates) {
doingUpdates = false;
} rowData.beforeFirst();
thisRow = rowData.next(); return true;
}
}在看看这两个函数有什么相同和不同?
相同的地方就是thisRow = rowData.next();
我找了RowData.java看了看 结果发现 这个是空的文件!!!!
只有
/**
* Returns the next row.
*
* @return the next row value
* @throws SQLException if a database error occurs
*/
byte[][] next() throws SQLException;
555555555555555555555
问题什么也没解决!!
java.lang.AbstractMethodError: org.gjt.mm.mysql.ResultSet.last()Z函数还是没用
我狂ft!(不过想不到这个JDBC驱动居然是全球的CVS做的,不知道有没有我们中国人的份哦~~)
哎。
我在热切盼望能自由移动的MYSQL-JDBC驱动
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货