• 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

ResultSet.getBytes()

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
I have a big problem. I'm trying to write data to an access 2000 db
using JDBC. So far I have succeded with inserting data.
ex


When I'm about to print the data I use

It only prints '???A' and so on. How can I print the real data inserted via
an textarea? I don�t wan't to use getString() and setString() because length of the data is to long. I've tried it an it generates an odbc error by truncating the string.
I have tried using ( "ISO-8859-1" ) to but it still doesn't work.
Anybody know the solution to this problem?
// Mathias
 
Mathias Nilsson
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all.
I solved it. If you use

// Mathias
 
reply
    Bookmark Topic Watch Topic
  • New Topic