Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Temporary Table Returning 0 Rows

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, I am using the jdbc-odbc driver.
Using I-SQL I am retrieving a resultset of one row, but in my servlet I am retrieving "0" rows.
Any ideas?
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Josue
Given all of the information you put in the post above the first and most obvious answer is that there is no data in the database.
Now, your next post will say that there is indeed data in the database. then someone will ask you to post the statement you are executing and the code you use to process it. Then you post it and then someone will look at it and answer it...
Let's skip the next few steps and you post all of the info about the problem you can, processing code, the SQL statement, and anything else you think is pertinent.
sorry if this came off as rude, but you didn't tell us anyhting, so how can we answer a question...
 
Josue Cedeno
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can understand your response. It really wasn't a lot to go on, but I do appreciate the summary. And I especially appreciate you taking time to respond.
I was able to solve the problem. I was assuming that it was a problem with the driver (and it still may be). I was testing a "null" result in the stored procedure and the result was not understood. So I changed the test and it worked.
Thanks again.
 
Oh. Hi guys! Look at this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic