Hi, thank you for your advise. I will add a fix to the next version of the JDBC driver.
Thanks, Marco > -----Original Message----- > From: Alexei Novakov [mailto:[EMAIL PROTECTED] > Sent: Samstag, 26. Februar 2005 22:51 > To: MaxDB mailing list. > Subject: MaxDB JDBC driver: "System error: AK Datapart too short" > > Hi all, > > While using JDBC driver I ran into "System error: > System error: AK Datapart too short". I found that the > problem was fetch size which I set. When I set fetch > size > Short.MAX_VALUE ResultStatement.next() will > throw exception with this message (it looks like the > message comes all the way from DB server, because I > found this message in server logs too). It is not such > a big problem now when I know what's wrong, but I > think it would be nice if it was fixed in JDBC driver > itself (for example check fetchSize on > Statement.setFetchSize and limit it to Short.MAX_VALUE > there, or something else). It would be nicve to > mention about this limitation in the documentation as > well (I didn't find it there). > > Best regards. > Alexei Novakov > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: > http://lists.mysql.com/[EMAIL PROTECTED] > > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
