import java.sql.SQLException;
public class JDBCDerbySpec {
public static void load(Ruby runtime, RubyModule jdbcSpec) {
RubyModule derby = jdbcSpec.defineModuleUnder("Derby");
CallbackFactory cf = runtime.callbackFactory(JDBCDerbySpec.class);
derby.defineFastMethod("quote_string",cf.getFastSingletonMethod("quote_string",IRubyObject.class));
derby.defineFastMethod("quote",cf.getFastOptSingletonMethod("quote"));
derby.defineFastMethod("_execute",cf.getFastOptSingletonMethod("_execute"));
derby.defineFastMethod("add_limit_offset!",cf.getFastSingletonMethod("add_limit_offset", IRubyObject.class, IRubyObject.class));
derby.defineFastMethod("select_all",cf.getFastOptSingletonMethod("select_all"));
derby.defineFastMethod("select_one",cf.getFastOptSingletonMethod("select_one"));
RubyModule col = derby.defineModuleUnder("Column");
col.defineFastMethod("type_cast",cf.getFastSingletonMethod("type_cast", IRubyObject.class));
}