• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in findBy method -- urgent help required

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am using SQL server with Weblogic 7.0
I configured the connection pool with url as
'jdbc dbc:local' and driver classname as
'sun.jdbc.odbc.JdbcOdbcDriver'.
My create method works fine but when i call any of the findBy methods it always gives java.sql.SQLException: No data found
even if there is data in the database.
appreciate anyone's help.
regards
priya
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
  • Have you verified whether create method is actually creating records in the table using a SQL tool?
  • What is the error message associated with the SQLException?


  • [ April 25, 2003: Message edited by: Ajith Kallambella ]
     
    Ranch Hand
    Posts: 43
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Look like some one had a similar problem, hope this helps
    http://forum.java.sun.com/thread.jsp?thread=324911&forum=13&message=1319158
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic