`
pcial
  • 浏览: 71150 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

No more data available to read的问题

    博客分类:
  • JAVA
阅读更多
高手们帮忙看下吧!烦恼死

我们的sqlserver 2000数据库昨天突然出现jdbc 报错No more data available to read
查了好久不知道怎么解决。
情况如下:
jdbc读取ResultSet的时候,读到一半,就出现这个异常

还有,用我机器上的企业管理器连接服务器的sqlserver 2000中我们项目的数据库实例没有问题,但是点击“表”就一直停留在在那里,显示不出数据库存在的表,平常这个是可以的,连接该数据库服务器的上的其他实例中的“表”就没有问题。如果用数据库服务器的企业管理器就可以看到全部数据,一切正常!
我也试着用查询分析器查询查询该数据库的数据。结果包如下错误:

[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (InvalidParam()).
服务器: 消息 11,级别 16,状态 1,行 0
一般性网络错误。请检查网络文档。

连接中断

网上有说是数据库的jdbc的bug,连接不够就有这个问题。
还有说是网卡丢包~~~

帮忙看一下吧! 昨天重启了数据库还是一样没有解决问题!泪奔中......


分享到:
评论
1 楼 浦南镇 2013-01-24  
今天碰到同样问题,我的原意很简单:
原因:con.commit();执行完后,执行resultSet.get...但ResultSet对象已经释放了
解决:等执行完resultSet.getInt("name")等等最后再执行con.commit();即可解决。

相关推荐

    eac3to V3.17

    * fixed: audio delay was incorrect when 1st m2ts part contained no audio data * fixed: very small WAV files were not detected correctly * fixed: "eac3to source.eac3 dest.dts -core" crashed v3.12 * ...

    XLSReadWriteII6.0.0.47 for Delphi 10.3.3 Rio FullSource

    Data is loaded in RAM to the extent that the memory has the ability to accept data, but when it is full, it continues to read the operation and writes to the hard disk. One of the main goals of this ...

    BURNINTEST--硬件检测工具

    - Minor changes to the No operation error watchdog timer for the CD and Hard disk tests. - Minor correction to the Butterfly seek test. - Video playback trace logging increased. Release 5.3 build ...

    微软内部资料-SQL性能优化2

    A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...

    BUS Hound

    -no extra hardware or system changes needed <br> <br>The Capture Window <br>Commands sent to devices consist of one or more phases. Examples of phases are command bytes, data bytes, and ...

    微软内部资料-SQL性能优化3

    An isolation level determines the degree to which data is isolated for use by one process and guarded against interference from other processes. Prior to SQL Server 7.0, REPEATABLE READ and ...

    曲线拟合工具CurveExpert 1.0

    + A plot that was copied to the clipboard failed to "clip" data points that were outside of the graphing pane, resulting in points being drawn outside of the intended area. Fixed. + The ...

    iphone h.264 live encode 实时 硬编码

    Latency with VLC and QuickTime playback is a few seconds, since these clients buffer somewhat more data at the client side. The whole example app is available in source form here under an ...

    Spectral Core Full Convert Enterprise v6.11.0.1683

    Data creation override (copy data, append, no data) Auto-rename objects (table name prefix, table and column casing) Run SQL scripts before and after conversion, on both source and target database SQL...

    端口查看工具

    o Fixed the problem with sending the data to stdout (when the filename is empty string). * Version 1.93: o Updated the internal country names (added more 14 countries) that are used for ...

    S7A驱动720版本

    S7A驱动,7.20版本, Version history S7A OPC server and FIX driver for Siemens S7/S5 communication ... - Error in MIX Read function could cause blocking of data blocks...

    Vagaa哇嘎画时代--体验群体智慧的力量!

    2.4 Forge headers or otherwise manipulate identifiers in order to disguise the origin of any data transmitted to other users; 2.5 Transmit, access or communicate any data that you do not have a right...

    Streams apple

    - **Handling Stream Events**: The space-available event is crucial for output streams, indicating when more data can be written. Listing 2 demonstrates handling this event. - **Disposing of the ...

    TRegware 4.02

    The more user responses received, the more TRegware can be improved to keep it the best shareware security component for Delphi developers! IF YOU HAVE A TECHNICAL QUESTION, PLEASE READ FAQ.TXT ...

    UE(官方下载)

    Have you ever built a complex Perl-style regular expression, only to find that it matches much more data than you anticipated? If you've ever found yourself pulling your hair out trying to build the ...

Global site tag (gtag.js) - Google Analytics