Java Bridge and java method overloading
Java Bridge and java method overloading
- Subject: Java Bridge and java method overloading
- From: Max J Cantor <email@hidden>
- Date: Sat, 12 May 2001 20:17:20 -0400 (EDT)
I'm working on a cocoa program that uses the java JDBC tools to access a
mysql database. The key object here is a java.sql.ResultSet. I need to
use the ResultSet's (String) getString(String colName) method but for some
reason, even though I pass an (NSString *) as an argument, java uses the
getString (int colIndex) method. (note that the only difference between
these two methods is that one takes an int, the other takes a java
string). Does anoyne know of a way to use the first method?
-Max