Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in findBy method -- urgent help required

 
sangita kandel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • 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 ]
     
    Ram
    Ranch Hand
    Posts: 43
    • Mark post as helpful
    • send pies
    • 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
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic