• 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

Problems w/ retrieving Text field in SQL Server

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am having a problem retrieving a text field from MS SQL, using ResultSet rs.getString() Here is the error I am getting in JRun
500 Internal Server Error
/dev/kiosk/data_entry/testText.jsp:
Exception thrown on line '16' from page 'D:\\JSP\\Development\\kiosk\\data_entry\\testText.jsp'.
java.sql.SQLException: [JRun][SQLServer JDBC Driver]null
at allaire.jrun.db.jdbc.base.BaseExceptions.getException(Unknown Source)
at allaire.jrun.db.jdbc.base.BaseData.convertToString(Unknown Source)
at allaire.jrun.db.jdbc.base.BaseData.convert(Unknown Source)
at allaire.jrun.db.jdbc.base.BaseData.getData(Unknown Source)
at allaire.jrun.db.jdbc.base.BaseResultSet.getString(Unknown Source)
at allaire.jrun.db.jdbc.base.BaseResultSet.getString(Unknown Source)
at jrun__kiosk__data_entry__testText2ejsp1e._jspService(jrun__kiosk__data_entry__testText2ejsp1e.java:111)
I have a feeling it is due to the size of the returned ResultSet. Any ideas?
 
reply
    Bookmark Topic Watch Topic
  • New Topic