Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ResultSet.getBytes()

 
Mathias Nilsson
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi all.
I solved it. If you use

// Mathias
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic