This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes question regarding getInt method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "question regarding getInt method " Watch "question regarding getInt method " New topic
Author

question regarding getInt method

Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 446
    
    1

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


SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2543
    
  10

Show us how you created the sql statement.


OCUP UML fundamental and ITIL foundation
Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 446
    
    1

hahaha
I forgot to add the column name in the query..
and its because you asked me to give the query
thank you Jan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question regarding getInt method
 
jQuery in Action, 3rd edition