Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question regarding getInt method

 
Prasad Kharkar
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am really gone mad due to the behavior of the code here
I have two columns both having data types as number and I am retrieving them in java code for railway reservation project

The column name is same
and it works for the first line but not for second
can anyone tell why does it happen?
and yes
giving the index does not work also please help
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Show us how you created the sql statement.
 
Prasad Kharkar
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hahaha
I forgot to add the column name in the query..
and its because you asked me to give the query
thank you Jan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic