juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SourceForge.net" <nore...@sourceforge.net>
Subject [juddi-Developers] [ juddi-Bugs-803012 ] Changing all getXxx(String) calls to getXxx(int)
Date Tue, 23 Sep 2003 06:16:09 GMT
Bugs item #803012, was opened at 2003-09-09 02:18
Message generated for change (Comment added) made by anou_mana
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=803012&group_id=42875

Category: Build
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Subrahmanya Nayak (snayak)
>Assigned to: Anou Manavalan (anou_mana)
Summary: Changing all getXxx(String) calls to getXxx(int)

Initial Comment:
The juddi code (for example in 

org.juddi.datastore.jdbc.FindBusinessByNameQuery.java  

and other files( as

 well)  use select statements like:

 

    SELECT B.BUSINESS_KEY, ........,  FROM 

BUSINESS_ENTITY B,....................

 

 When the result set is constructed,  the column header 

will be  "B.BUSINESS_KEY" .

 

 Later the code issues a getString("BUSINESS_KEY");  on 

the result set from the query above.

 

 We don't find the column, because the column name is 

B.BUSINESS_KEY  .

 

 That causes  error like "Invalid attribute 

name: "BUSINESS_KEY"." So code getString

("BUSINESS_KEY"); should be changed to

 getString("B.BUSINESS_KEY");or to to take the column 

index instead of a name. Changing to Column index is 

more reliable and standard across all the DBs.



----------------------------------------------------------------------

>Comment By: Anou Manavalan (anou_mana)
Date: 2003-09-23 06:14

Message:
Logged In: YES 
user_id=635638

Changed getXxx(String) calls to getXxx(int).  Will wait for a 

week for any complaints and then close it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=803012&group_id=42875


Mime
View raw message