Results 1 to 4 of 4
Thread: New to Java Please Help
- 08-13-2007, 04:18 PM #1
Member
- Join Date
- Aug 2007
- Posts
- 3
- Rep Power
- 0
New to Java Please Help
Hello Everyone..
I keep getting the following message: ')' Expected but I don't know why.. The Method is as follows:
public void createTechnologyList(int applicationID) {
dropDown.addToWhereAnd("TechnologyType IN (SELECT TechnologyType FROM Site WHERE ApplicationID=" + applicationID + "AND TechnologyType" = 1 ") ");
dropDown.retrieve();
resetCounter();
items = dropDown.resultSet();
}
Could you please help?
Thanks in advance
Kets
- 08-13-2007, 04:58 PM #2
Senior Member
- Join Date
- Jul 2007
- Posts
- 130
- Rep Power
- 0
Please please please please, do not double post, u already post the same question in Java EE thread
Keep getting this error msg... Please help?
Please read the FAQ and rules thread if u havent done it before
http://www.java-forums.org/faq.php?faq=forumrules
Bout ur code, i don't dwell in J2ee, but so far i see no wrong, can't help u there, sorryLast edited by cruxblack; 08-13-2007 at 05:01 PM.
- 08-13-2007, 09:58 PM #3
Maybe from breaking up a string improperly. Try this:
Java Code:public void createTechnologyList(int applicationID) { dropDown.addToWhereAnd("TechnologyType IN (SELECT TechnologyType FROM " + "Site WHERE ApplicationID=" + applicationID + " AND TechnologyType = 1)"); dropDown.retrieve(); resetCounter(); items = dropDown.resultSet(); }
- 08-14-2007, 05:53 PM #4
Member
- Join Date
- Aug 2007
- Posts
- 3
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks