Initial commit
This commit is contained in:
16
src/com/redstoner/misc/mysql/elements/MysqlResult.java
Normal file
16
src/com/redstoner/misc/mysql/elements/MysqlResult.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.redstoner.misc.mysql.elements;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
||||
public class MysqlResult {
|
||||
private ResultSet results;
|
||||
|
||||
public MysqlResult(ResultSet results) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
public Object getObject(int columnIndex, Class<?> type) throws SQLException {
|
||||
return results.getObject(columnIndex, type);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user