I am getting "incompatible types - found int but expected java.lang.String" every time I run code snippett and not sure why ...
even if I set my @param to be a declared String in my constructor and initialize it in the top of the class also as a string for some reason it WILL compile but just not run in the console panel unless I set it as a string.... I know the data IS stored as a String type in the UniData datasource .. any ideas? public class LookUpManager { String person = ""; //formal parameter to test lookup is provide a person to match with an ID String id = ""; // IS strCR_UniversityID is IndexID public UniDataManager (String person) { //define the instance of this class } public void fetchIDviaPerson(){ ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---